Using the new Express 4.0 Router to build an API
- Node and npm
- Mysql
- Clone the repo:
git clone https://github.com/m1caell/REST-api-Nodejs.git
- Install dependencies:
npm install
- Import the file "contas_facil_db.sql" to your Mysql
- Start the server:
npm start
- Server availble on: localhost:8080
Test your API using Postman
Import the file "REST Api.postman_collection.json" for tests URL.