In this repo you could find a Express practice using SQL as a relational database to make a small REST API to practice some key concepts of APIs and it's design
run the following command
npm i
to install all the dependencies: Express, mysql, nodemon, and so others...
then replace the values in the .env.template
with your own data and delete the .template so it's an .env
as it's fullest
PORT=your_port
MYSQL_DB_NAME=your_db_name
MYSQL_HOST=your_db_host
MYSQL_USER=your_db_username
MYSQL_PASSWORD=your_db_password