Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianschardt/node_rest_api_mysql
https://github.com/brianschardt/node_rest_api_mysql
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brianschardt/node_rest_api_mysql
- Owner: brianschardt
- License: mit
- Created: 2018-01-23T21:44:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T13:13:55.000Z (almost 4 years ago)
- Last Synced: 2024-04-12T18:05:19.270Z (7 months ago)
- Language: JavaScript
- Size: 3.96 MB
- Stars: 248
- Watchers: 18
- Forks: 141
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rest Api Node and Mysql
## Note: Please look at this new tempalate that uses nest, and graphql. It is much more up to date as I do not use this template anymore
https://github.com/brianschardt/node_nest_graphql_template## Description
This is an Restful API for Node.js and Mysql. Designed after PHP's beautiful Laravel. This is in the MVC format,
except because it is an API there are no views, just models and controllers.tutorial can be found here: https://medium.com/@brianalois/build-a-rest-api-for-node-mysql-2018-jwt-6957bcfc7ac9
##### Routing : Express
##### ORM Database : Sequelize
##### Authentication : Passport, JWT## Installation
#### Download Code | Clone the Repo
```
git clone {repo_name}
```#### Install Node Modules
```
npm install
```#### Create .env File
You will find a example.env file in the home directory. Paste the contents of that into a file named .env in the same directory.
Fill in the variables to fit your application