Skip to content

elstr/api-rest-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌳 API Rest seed

A seed to start any project with Node + Express.

Structure

  • Start.js a start file where we create the server
  • App.js is where you add all your middlewares using express
  • Routes the directory where you define your custom routes

Endpoints

HTTP Method Route Description
GET /users Returns a list of 100 users. If you want to limit the response you need to send the parameter _limit e.g.: /users?_limit=5

TODOS

  • Add Post
  • Add Patch