Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 699 Bytes

File metadata and controls

28 lines (20 loc) · 699 Bytes

README

REST API with Express and MongoDB project

Project goals:

  • Learn to create a REST API from scratch
  • Understanding HTTP requests
  • Setting up and using the express framework
  • Connecting the API with a MongoDB database
  • Create search and filtering routes for specific fields in the API
  • Error treament
  • Using environmental vars
  • Pagination
  • Using express middlewares

DESCRREVER VERSÕES DO NODE E NPM QUE FORAM UTILIZADAS

How to run

  • Install dependencies.
  • Setup .env file with PORT and DATABASE_URL vars. DATABASE_URL is your MongoDB account credentials.
  • Yarn c to compile typescript code.
  • Yarn start to run project.

DOCUMENTAR ESTRUTURA DO PROJETO

  • Pastas