A simple markdown diary for my everyday use.
You need to add a hash key (using crypt
or something) in the .env
file.
npm start
in the directory to start.
In the .env
file you need to set a password, a TOKEN_KEY
hash key, and add the corresponding database values with <>.
npm run dev
to run.
You must create a database named diary
, then create a user with an encrypted password named diary_user
. Finally, you need to grant all privileges on table entries to user and give it serial permisions on its serial (google it, and make sure you are on the database).