Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kanokpit-yowaratch/express-mysql-api-pagination

REST API by Express.js and MySQL with Pagination + Search
https://github.com/kanokpit-yowaratch/express-mysql-api-pagination

bcrypt cors dotenv expressjs jwt multer mysql2 nodemon swagger swagger-ui-express typescript

Last synced: 29 days ago
JSON representation

REST API by Express.js and MySQL with Pagination + Search

Awesome Lists containing this project

README

        

# express-mysql-api-pagination
REST API by Express.js and MySQL with Pagination

# Tech Stack, Tools, Libs
`Express.js` `TypeScript` `Swagger` `mysql2` `JWT` `bcrypt` `multer` `dotenv`

## Run app

```
npm install
npm run dev
```

## Production build

```
npm run build
npm run start
```

# Configuration file
`.env` file as follows:


  • API_PORT=

  • DB_HOST=

  • DB_PORT=3306

  • DB_USERNAME=

  • DB_PASSWORD=

  • DB_DATABASE=

## Demo

[free-api.asia/users](https://free-api.asia/api/users)