Skip to content

confidentmeerkat/express-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express blog backend service.

Tech Stack

  • Express
  • TypeScript
  • FireStore

How to run

Endpoints

  • POST: /auth/register Register a new user
  • POST: /auth/login Login a user
  • GET: /users Get list of users
  • POST /users Create a new user
  • GET: /posts Get list of posts
  • POST: /posts Create a new post
  • GET: /posts/:id Get post for a given id
  • PUT: /posts/:id/ Update post for a given id
  • POST: /posts/:id/comment Add comment to the post
  • Like: /posts/:id/like Toggle liked for a user

About

Backend API for blog site built with Express and Google cloud Firestore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published