- Clone this repo
cd restApi-simple-note-using-expressjs
npm install
- set up file .env and database
- start your mysql server
- create database
- make file
.env
- you can imitate
.env-semple
"username": "your-username-mysql",
"password": "your-password-mysql"
"database": "name-your-database",
"host": "127.0.0.1",
import table from ./note-app.sql
to your database
npm start
- open postman
- import from
./test
to your postman - test request