Skip to content

zoefiri/blog_express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an express blog

This is an express and postgres blog backend, it includes users, posts, and media.

The exact schema is easy to read and can be viewed here

how to use

dependencies

node and postgres, the rest is in package.json :)

environment vars

  • DATABASE_URL - postgresql://user:password@localhost:5432/blogdemo?schema=public
  • JWT_SECRET - a securely generated cryptographic secret for generating JWT tokens
  • REGISTER_SECRET - a secret passphrase allowing registration

running

just npm start (make sure postgres is running)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published