Jalaj-khajotia / gstnode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rest Api Node and Mysql

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

Donwload 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

About


Languages

Language:JavaScript 99.0%Language:SQLPL 1.0%