https://github.com/dunghenry/rest_api_express_mysql
REST API using Express vs MySQL
https://github.com/dunghenry/rest_api_express_mysql
expressjs mysql mysql2 rest-api
Last synced: 3 months ago
JSON representation
REST API using Express vs MySQL
- Host: GitHub
- URL: https://github.com/dunghenry/rest_api_express_mysql
- Owner: dunghenry
- Created: 2022-07-01T18:47:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-01T18:47:52.000Z (about 4 years ago)
- Last Synced: 2025-01-25T19:28:47.528Z (over 1 year ago)
- Topics: expressjs, mysql, mysql2, rest-api
- Language: JavaScript
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### REST API use Express.js and MySQL
### Usage
### GET USERS (GET)
```js
http://localhost:4000/api/users
```
###
### GET USER (GET)
```js
http://localhost:4000/api/users/id
```
###
### CREATE USER (POST)
```js
http://localhost:4000/api/users
```
###
### UPDATE USER (PUT)
```js
http://localhost:4000/api/users/id
```
###
### DELETE USER (DELETE)
```js
http://localhost:4000/api/users/id
```