An open API service indexing awesome lists of open source software.

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

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
```