Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 2.45 KB

File metadata and controls

95 lines (70 loc) · 2.45 KB

Flutter

API NODE REST

Node MongoDB Express


About

Uma API utilizando Node, Express e MongoDB realizando as requisição Get, Post, Delete e Put para realizar CRUD completo. Com o objetivo de grava uma frase e o seu autor.

API using Node, Express and MongoDB performing the Get, Post, Delete and Put requests to perform complete CRUD. In order to record a sentence and its author.

Technologies

  • Node
  • Express
  • MongoDB

Installation

Development setup

Clone Project

git clone git@github.com:msvasconcelos/api-node.git
Create account https://www.mongodb.com/cloud and configure the .env file with the bank connections
cd api-node
npm install
npm run dev

HTTP Methods

Get: localhost:3000/mentions
Post: localhost:3000/mentions
{
	"friend": "Lorem ipsum",
	"mention": "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}
Put: localhost:3000/mentions/{id:}
{
	"mention": "This is a new mention added via PUT"
}

Delete: localhost:3000/mentions/{id:}

Release History

  • 0.0.1
    • Work in progress

Author

Matheus Vasconcelos - GitHub / Linkedin / Email

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/msvasconcelos/api-node/fork)
  2. Create your feature branch (git checkout -b feature/)
  3. Commit your changes (git commit -am 'Add something')
  4. Push to the branch (git push origin feature/)
  5. Create a new Pull Request

Develop by Matheus Vasconcelos