Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

API NodeJS with MongoDB - Boilerplate

This is a straightforward boilerplate for building REST APIs with ES6 and Express.

Getting Started

# clone it
git clone https://github.com/caioorg/api-node.git
cd api-node
# Make it your own
rm -rf .git && git init && npm init
# Install dependencies
npm install
# Start project development
npm run dev
# If you want to start production
npm run build

Check Routes

If you want to validate the route operation by POSTMAN:

GET - List All -> /api/v1
GET - Search with Sort -> /api/v1/?sort=created
POST - Create Register -> /api/v1
PUT - Update Register -> /api/v1/:id
DELETE /api/v1/:id

Examples Request

This link was made available with the documentation, how to make the requests via POSTMAN.

License

MIT

About

API NodeJS with MongoDB - Boilerplate Simple

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages