Skip to content

MikiBoiko/diary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MD Diary

A simple markdown diary for my everyday use.

Framework:

  • React (frontend)

You need to add a hash key (using crypt or something) in the .env file.

npm start in the directory to start.

  • Express (backend)

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.

  • Postgres (database)

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).