Skip to content

mustafa-mun/blog-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog API

This project is the part of nodejs course on the odin projects full stack javascript cirriculum. This project uses SwaggerUI for API Documentation.

Screenshot

Demo

🔑 Token : Don't forget to log in and take your token to send request to protected routes

👉 See it live here

Features

  • User Authentication: Users can create an account, login/logout securely, and access protected routes using a token-based authentication system.

  • View posts: All users can view all published posts.

  • Create and manage posts: Authorized users can create new posts, update existing posts, and delete posts that they have created.

  • Post categorization: Users can categorize their posts based on tags for easy searching and sorting.

  • Commenting system: All users can comment on posts and view other users comments.

  • Like system: All users can like posts and comments.

  • Admin management: Admins have editing, deleting and post publishing permissions and can give adminship to other users. Admins can also manage user accounts, and delete inappropriate posts or comments.

Run project locally

Clone the project

  git clone https://github.com/mustafa-mun/blog-api.git

Go to the project directory

  cd blog-api

Install the required packages

  npm install

Start the server

  npm  start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published