Project for web apps course written in Angular 2+. The main focus of the project was to learn about writing a basic app in Angular and connecting it to a custom server and database. The look of UI wasn't considered, so it is looking in its way `.
This project was generated with Angular CLI version 8.3.20.
Front-end app is written in Angular 2+. The backend app is using node.js. Authorization is based on Firebase Auth. User roles are stored in real-time Firebase database. Data is stored in the MongoDB database.
It is possible to log in as an admin user or standard user, also the app provides the possibility to register a new standard user. Basic validation is implemented.
A user can see all available courses in the app and filter them. A user can select how many courses should be displayed on one page.
A user can see more information about a course after clicking the details button. On this view, the user can register for the course.
After registration on the course user can rate the course.
The admin user can add a new course via the form with basic validation and edit existing courses.
Run npm start
. Back-end server will run on http://localhost:5500/
. Config files with certificates and passwords are required.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.