https://github.com/ethern-myth/nodejs-backend
NodeJS backend with mysql, express and sequalize
https://github.com/ethern-myth/nodejs-backend
mvc mysql nodejs oop rest-api swagger
Last synced: about 2 months ago
JSON representation
NodeJS backend with mysql, express and sequalize
- Host: GitHub
- URL: https://github.com/ethern-myth/nodejs-backend
- Owner: Ethern-Myth
- License: apache-2.0
- Created: 2022-11-29T09:15:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-29T10:00:19.000Z (over 3 years ago)
- Last Synced: 2026-02-19T17:35:51.348Z (4 months ago)
- Topics: mvc, mysql, nodejs, oop, rest-api, swagger
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advanced NodeJS RestAPI with MySQL
This backend is created with **NodeJs, Express and Sequelize**.
MySQL is required as the database. Database used was **XAMMP MYSQL through phpmyadmin**.
The concept is to decorate a basic NodeJS to an MVC **(Model-View-Controller)** type. Although the **view** such as html or cshtml in **.NET core** is not present here, the view is the output from the server as **json, xml or text** format.
**Swagger is configured**. Open http://localhost:5000/swagger ; all routes are defined there.
---
### To begin:
Install dependencies:
```
yarn
```
Make sure to have MySQL running before:
```
yarn start
```
That's it !!
I hope to add more elements to this in due time.
**If you made it to this repo. Thank you.**