This Friend Management App is being crafted using Docker-Compose, PM2, Mongoose, NodeJS, Swagger, Restify. (The total amount of NodeJS Cluster Workers depends on your CPU cores.)
The NoSQL database powering the application is MongoDB. PM2 is running the NodeJS.
There are a total of 6 friend management web-services and is being listed @ the Swagger Documentation Page
(Before following the instructions below, kindly install Docker CE and Docker-Compose CE.)
- Clone the git repository
- Open your
Terminal/Command Prompt/Bash
in Administrator mode - Go into your Git Clone Directory, Type :
cd <Your Git Clone Storage Directory>/friend_management
- Build your Container App using Docker-Compose. Please run
docker-compose up --build
- After the Application and MongoDB are up and running, open the browser and go to
http://localhost:8080/swagger
- You will see all the API services available (Check out the documentation)