This project is the part of nodejs course on the odin projects full stack javascript cirriculum. This project uses SwaggerUI for API Documentation.
🔑 Token : Don't forget to log in and take your token to send request to protected routes
👉 See it live here
-
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.
Clone the project
git clone https://github.com/mustafa-mun/blog-api.gitGo to the project directory
cd blog-apiInstall the required packages
npm installStart the server
npm start