/nodejs-mysql-restapi

Create of api resfull with mysql and deployment in railway

Primary LanguageJavaScript

Nodejs MYSQL REST API

Create of api resfull with mysql and deployment in railway of example

Installation

First, clone the repo

git clone git@github.com:Uber830/nodejs-mysql-restapi.git

move to the folder

cd nodejs-mysql-restapi

install dependencies:

npm install

you need to add your database variables.

cd ./src/config.js

execute the project for development

npm run dev

and for production execute

npm run start