Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivamsouravjha/demons
This is a demo sample of linking NODEJS via ORM and MYSQL
https://github.com/shivamsouravjha/demons
crud-operation crud-sample javascript mysql-database nodejs orm postman-collection sequelize sql
Last synced: 4 days ago
JSON representation
This is a demo sample of linking NODEJS via ORM and MYSQL
- Host: GitHub
- URL: https://github.com/shivamsouravjha/demons
- Owner: shivamsouravjha
- Created: 2021-06-11T08:48:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-11T10:51:58.000Z (over 3 years ago)
- Last Synced: 2024-05-01T18:14:37.120Z (7 months ago)
- Topics: crud-operation, crud-sample, javascript, mysql-database, nodejs, orm, postman-collection, sequelize, sql
- Language: JavaScript
- Homepage: https://www.getpostman.com/collections/a55e741986b20a7bf711
- Size: 96.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demons(Demo of Nodejs with SQL)
This is a demo sample of linking NODEJS with ORM and MYSQLConnecting Node to SQL is a hard task and not much help is available,so this is a sample of a workflow that has integrated ORM(Objected-Related Mapping) to connect MYSQL to Nodejs.
This is following a basic CRUD structure and the link of postman is in descripion.
# Libraries used:-
* Sequelize
* Joi
* babel
* nodemon# Tech-Stack
* Nodejs
* SQL(mysql platform)
* Postman ofr testing# To start-the api do the following:-
* NPM install.
* Change config file in config as per your requirements.
* change the connection file in connection as per your needs
* sequelize db:migrate (to make a database of the specified name).
* NPM start.## Incase of any error reach me out by opening an issue