Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goldenfinix68/j1explorers-backend
https://github.com/goldenfinix68/j1explorers-backend
express mysql2 rest-api sequelize
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/goldenfinix68/j1explorers-backend
- Owner: goldenfinix68
- License: gpl-3.0
- Created: 2024-07-03T09:25:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T04:20:07.000Z (3 months ago)
- Last Synced: 2024-08-14T05:33:21.004Z (3 months ago)
- Topics: express, mysql2, rest-api, sequelize
- Language: JavaScript
- Homepage:
- Size: 126 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# j1explorers-backend
1. To install application, open the terminal and go into the given code's root directory and execute below command
```
npm install
```2. Create a database with name ***`j1explorers`*** in MySQL
3. Run migrate:up command to create tables
```
npm run migrate:up
```4. Start the API Server
```
npm start
```5. This will start the API server on port defined in ***`/config/index.js`*** file (Default: ***3000***). Once the API server is started you will get the below message in your terminal console, this means your API server is started successfully.
```
Listening at "http://localhost:3000"
```6. Now access below URL from your browser to test if your API is working or not
```
http://localhost:3000/api/test?name=goldenfinix68
```7. If you see ***`Hello goldenfinix68`*** it means you are ready to go code...