Skip to content

Personal project to put into practice concepts learned in the rest api course with mongodb. Game Database API is a project that provides information about developed games to the front-end.

License

Notifications You must be signed in to change notification settings

MichaelDouglasPIX/game-database-api

Repository files navigation

🎮 Game Database API

Rest API project to record and make data available about developed games.

Technologies

Node.js Node.js
Express Express
Mongodb Mongodb
Swagger Swagger
Docker Docker

Prerequisites

Warning

To run the project, you must install the following tools on your machine:

Installation

Clone the repository to your computer

git clone https://github.com/MichaelDouglasPIX/game-database-api.git

Access the project

cd game-database-api

Install dependencies

npm i

Run project locally

Important

Rename the .env_example into .env and change the username and password fields.

Start Docker containers

npm run start-docker

Start the server

npm run dev

Terminate Docker

npm run finish-docker

Swagger and Mongo Express

After docker and server are running, it is possible to view some services.

  • Visit http://localhost:8082/ to view API documentation in Swagger UI.
  • Visit http://localhost:8081/ to view the automatically generated data in mongodb.

License

MIT licensed.

About

Personal project to put into practice concepts learned in the rest api course with mongodb. Game Database API is a project that provides information about developed games to the front-end.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published