Kodecamp Blog api

This is a simple blog api built with express js, prisma and mongodb ( for database ) and this are all the available routes:

auth/register

To Register

auth/login

To Login to your account

auth/me - (GET)

To Get the authenticated User

posts

To Get the list of post must be a GET request

posts/:postId

To get a single post by its id

posts/:postId - (PATCH)

To Edit a single post by its Id

posts/:postId - (DELETE)

To Delete a post by its id