This repository contains a web application designed to help students select the right university and academic program. Built with MongoDB and Node.js, the app allows students to explore available courses offered by faculty and easily enroll in the ones that match their interests. The platform provides a user-friendly interface for discovering programs, reviewing course details, and streamlining the enrollment process, making it an essential tool for students planning their academic future.
ATTENTION: this guide is made for windows.
-
Install Node.js
-
Install MongoDB
-
Install Angular CLI globally:
npm install -g @angular/cli -
Open this folder in terminal
-
Move to
project_source_code/backendfolder and runnpm install -
Inside
project_source_code/backendfolder create a new file.envand add the following lines:JWT_SECRET=... MAIL=... MAIL_HOST=... MAIL_PORT=... MAIL_PW=... DB_NAME=... DB_HOST=... DB_PORT=...
replace the
...with yours information. -
Move to
project_source_code/frontendfolder and runnpm install -
Create a new database on MongoDB called as in your
.envfile -
Create a new collection called
schoolson your database -
Import
scuole_italiane.jsonin the collectionschools
- Move to
project_source_code/backendfolder and runnpm run dev - Move to
project_source_code/frontendfolder and runng serve - Open
http://localhost:4200/in your browser
The backend code will create automatically an admin account with the following credentials:
mail: admin@PCTODAIS.itpassword: admin