A Basic API for n Game-App using nodeJS, Express with MongoDB database.
Features:
- Create Single Game.
- Read Single Game.
- Get All Games.
- Update Single Game.
- Delete Single Game.
- Swagger documentation.
To Run Locally
- User is required to have installed NodeJS of version >= v18.
- First clone the reposity and then cd game-apis
- Create .env file in root directory & provide your mongodb connection URL. Variable name DB_URL
- Open terminal and Run "npm i" to install all the dependencies.
- Now run npm run start to start the server.
Go to http://localhost:4000/api-docs to check and Test API docs.