Realtime service built on NodeJS.
- Node.js 16
- NPM Libraries
- Nodemon for Debugging and keeping track of changed files
- Express for initiating the server
- BodyParser to parse request body
docker compose -f "docker-compose.yml" up -d --build
nodemon app.js
OR
npm run start
curl -X POST \
http://localhost:3000/orders \
-H 'Accept: */*' \
-H 'Accept-Encoding: *' \
-H 'Content-Type: application/json' \
-H 'Host: localhost:3000' \
-d '{
"order_id" : 1,
...
}'
curl -X GET \
http://localhost:3000/orders \
-H 'Accept: */*' \
-H 'Accept-Encoding: *' \
-H 'Content-Type: application/json'