/NodeRestful

Node Restful APIs with MySQL

Primary LanguageJavaScript

NodeRestful

Create Node Restful APIs with MySQL Database

Install Node JS and MySQL Software, create a database and import SQL file.

Go to terminal or command line.

Execute following commands to run this application.

Start Project

$ git clone https://github.com/srinivastamada/NodeRestful.git

$ cd NodeRestful

$ npm install

$ npm start

Open your browser

http://localhost:8000/helloworld

Tutorial: Create a RESTful API using NodeJS and MySQL Database

##GET

http://localhost:8000/users
http://localhost:8000/user/user_id

##POST

http://localhost:8000/messages
http://localhost:8000/signup
http://localhost:8000/sendMessage