This repository contains the code associated with the deliverable of the course of back-end development at CoderHouse.
In order to execute the API, you just need Node.js.
- Clone this repository or download the code.
- Complete the
.env
file, based on the.env.example
. - Install the dependencies:
npm i
- Start the server:
npm start
- The server will be available on the url: http://localhost:8080, or on the port you have specified in the
.env
file.
See the Swagger Documentation on /apidocs
, i.e.: http://localhost:8080/apidocs
The project can be configured to use different databases. The default database is MongoDB (using the URI declared on the .env
file), but you can change it to Node.js FileSystem implementation (using local JSONs).