Create of api resfull with mysql and deployment in railway of example
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