- NodeJS
- Redis Server
- MongoDB
- Configure
.env
according to your setup npm install
npm run start
ORnpm run start:dev
(Hot reload)- Api will be hosted on
http://localhost:3000
ORhttp://127.0.0.1:3000
- NodeJS
- Docker
- Execute
npm run d
ORyarn d
(Will take a while to download images and setup everything) - Api will be hosted on
http://localhost:8080
ORhttp://127.0.0.1:8080
- HAPROXY stats UI will be hosted on
http://localhost:70
ORhttp://127.0.0.1:70
- It Runs 2 copies of the APP
- Installs HAPROXY to load balance the 2 copies of App
- Installs Redis and MongoDB
-
Jmeter test plan is attached with the source in extras directory by the name
Airlift_task_one_test_plan.jmx
-
Insomnia API collection is attached with the source in extras directory by the name
Airlift-TaskOne-Insomnia_2021-08-09.json