This project was implemented using Nx.
Update apps/kichflights/src/environments/environment.ts
with the Redis config and link of sources provided separately.
The Redis Password has to be taken by the app from Secure Vault or similar service as a part of CI/CD process.
By default, instance's in-memory cache will be used.
Run npm install
to install all the dependencies.
Run npm start
to start the project locally.
Run PORT=3334 npm start
to run a second instance.
To test the project, use the following endpoint: http://localhost:3333/api/v1/aggregator
To reset the cache send the header: Cache-Control: 'no-cache'
(or refresh the page in browser with "Empty cache and hard reload").
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -- --prod
flag for a production build.
Run npm run test:all
to execute the unit tests via Jest.
Run npx nx affected:test
to execute the unit tests affected by a change.
Run npx nx graph
to see a diagram of the dependencies of your projects.
Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.
Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nx’s advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.
Visit Nx Cloud to learn more.