The application is a forum, where each registered user can create a theme or post a comment.
- Front-end built with Angular
- REST Api
- MongoDB
- Typescript
- RxJS
- HTML & CSS
After the successful installation the database will be empty, so you can load the provided from me initial data in it as follows:
This project was generated with Angular CLI version 16.1.3.
ng serve
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
cd REST-API && npm install && npm start
Runs the REST Api. Be careful to run the server from the REST-API folder in a separate terminal. In order to fetch the themes, you will have to make a GET request on "localhost:3000/api/themes".
ng generate component component-name
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
ng build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
ng test
Run ng test
to execute the unit tests via Karma.
ng e2e
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.