The platform for Sophos University to manage its institute information, offered courses, enrolled students and official teachers.
- Clone the repository
- Enter the
/SophosAPI
folder and runnpm install
- Run
npm start
to start the server - Open
localhost:5000
in your browser - Enter the
/SophosApp
folder and runnpm install
- Run
npm preview
to start the app - Open
localhost:5173
in 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.sql
AdminUser.sql
Faculty.sql
Student.sql
Teacher.sql
Course.sql
Enrollment.sql
(This one must be manual, cause the enrrollement values are foreign keys)
- Clone the repository
- Enter the
/SophosAPI
folder and rundocker compose -p api-prod -f docker-compose.yml up -d --build
- Enter the
/SophosApp
folder and rundocker compose -p webapp-prod -f docker-compose.yml up -d --build
- Open
localhost:8080
in your browser to see the API - Open
localhost:3030
in your browser to see the app