The platform for Sophos University to manage its institute information, offered courses, enrolled students and official teachers.
- Clone the repository
- Enter the
/SophosAPIfolder and runnpm install - Run
npm startto start the server - Open
localhost:5000in your browser - Enter the
/SophosAppfolder and runnpm install - Run
npm previewto start the app - Open
localhost:5173in your browser
- Login with your credentials
- Create a new course
- Create a new teacher
- Create a new student
- Enroll the student to the course
- Add the teacher to the course
There is the /PoblationScripts folder where you can find the scripts to create and populate a mysql database with data. You can run them in the following order:
Database-Tables.sqlAdminUser.sqlFaculty.sqlStudent.sqlTeacher.sqlCourse.sqlEnrollment.sql(This one must be manual, cause the enrrollement values are foreign keys)
- Clone the repository
- Enter the
/SophosAPIfolder and rundocker compose -p api-prod -f docker-compose.yml up -d --build - Enter the
/SophosAppfolder and rundocker compose -p webapp-prod -f docker-compose.yml up -d --build - Open
localhost:8080in your browser to see the API - Open
localhost:3030in your browser to see the app
