/RestApi-Nodejs

A basic rest api using mysql

Primary LanguageJavaScript

How does it works ?

This is a simple rest api made in node.js using basic http request PUT , POST ,GET and DELETE .Before to run the apis you need to modify config file in src folder the connection with the database in password field .This project does it work with mysql server and mysqlWorkbench .To prove the rest api you can use postman or insomia application for your operating system .To prove this project we are going to need the following dependencies .For detailed explanation on how things work, consult the GetPostman

Command to install all dependencies for nodejs in package.json

$ npm install

Command to run the rest api

$ node src/app.js

Or use this nodemon command but you need set it in package.json file before

$ npm start