Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kanokpit-yowaratch/express-mysql-api-pagination
- Owner: kanokpit-yowaratch
- Created: 2024-01-23T04:43:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-26T20:23:35.000Z (4 months ago)
- Last Synced: 2024-10-26T22:25:37.698Z (4 months ago)
- Topics: bcrypt, cors, dotenv, expressjs, jwt, multer, mysql2, nodemon, swagger, swagger-ui-express, typescript
- Language: TypeScript
- Homepage: https://free-api.asia/api/users
- Size: 304 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)