Clone this repo and cd into it
git clone https://github.com/DNI9/markdown-note.git
Install dependencies
npm i && npm i --prefix frontend
Rename .env.example > .env
and write your configs
then simply run
npm run dev
# or
yarn dev
Only start server in dev mode
npm run server
Download and install the Heroku CLI and login to your heroku account.
heroku login
Create an heroku application in heroku dashboard and add heroku remote
heroku git:remote -a <heroku-app-name>
Commit and deploy
git add .
git commit -am "your commit message"
git push heroku master