This project was generated using Angular CLI version 20.3.0.
An Angular application which uses NgRx Signals for reactive state management, leverages the open API at: https://anapioficeandfire.com and Implements user registration and login features using Node.js and a MongoDB in-memory database within an Express.js backend framework.
To start the Angular application, run:
ng serve
Once the server is running, open your browser and navigate to http://localhost:4200/
.
User registration and login are handled by a Node.js application connected to an in-memory version of MongoDB. Users can add to and manage their favourite items only if they are authenticated and authorised on the front-end.
To start the Node.js application and the database, navigate to the 'backend' folder in the application's root directory and, use the following command:
npm run backend
The application will be started at port 4000 with a connection to the in-memory database.
End-to-end testing is implemented with Cypress
To execute the end-to-end tests, use the following command:
ng e2e
Unit testing is implemented with Jasmine on a Karma test runner
To execute the unit tests with the Karma test runner, use the following command:
ng test