Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 469 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 469 Bytes

My first API REST

This is my first API using Express and Node.js

To run the server

You will need a MongoDB. When you have one just set the environment variables like so:

  1. Create .env file
  2. Set DB_CONNECTION=[MONGODB_URL]
  3. Set PORT=[DESIRED_PORT]

Install and run the server locally on localhost:[DESIRED_PORT]

  1. Run command $ npm install
  2. Run command $ npm run dev

API Documentation

You can find the API Documentation at [SERVER-DOMAIN]/api-docs