Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Curso da Alura de API Rest com Express e MongoDB

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages