Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

devkishor8007/node-mysql-restapi-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

node-mysql-restapi-express

This API uses Node.js with Express Web Server and MySQL Database.

Before running the app you should fill these fields with your own credentials:

make your .env directory

PORT = 7000 <-- port that Server is listen
DATABASE = mysql <-- name of database of MySQL
HOST = mysql <-- name of Hostname
DATABASE_USER = mysql <-- Add your username
PASSWORD = mysql <-- Add your password

API Endpoints

Run the following on Postman

Demo DATA API Endpoints:

  • POST localhost:7000/user/
  • GET(List all) localhost:7000/data/
  • GET(Specific) localhost:7000/user/:id
  • PUT localhost:7000/user/:id
  • DELETE localhost:7000/user/:id

About

A sample demo repo working on REST API [Backend Server]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /