Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.8 KB

File metadata and controls

45 lines (34 loc) · 1.8 KB

University Orientation Web App

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.

Configuration

ATTENTION: this guide is made for windows.

Installation

  1. Install Node.js

  2. Install MongoDB

  3. Install Angular CLI globally: npm install -g @angular/cli

  4. Open this folder in terminal

  5. Move to project_source_code/backend folder and run npm install

  6. Inside project_source_code/backend folder create a new file .env and add the following lines:

    JWT_SECRET=...
    MAIL=...
    MAIL_HOST=...
    MAIL_PORT=...
    MAIL_PW=...
    DB_NAME=...
    DB_HOST=...
    DB_PORT=...

    replace the ... with yours information.

  7. Move to project_source_code/frontend folder and run npm install

  8. Create a new database on MongoDB called as in your .env file

  9. Create a new collection called schools on your database

  10. Import scuole_italiane.json in the collection schools

Application launch

  1. Move to project_source_code/backend folder and run npm run dev
  2. Move to project_source_code/frontend folder and run ng serve
  3. Open http://localhost:4200/ in your browser

Admin account

The backend code will create automatically an admin account with the following credentials:

  • mail: admin@PCTODAIS.it
  • password: admin