Skip to content

Ayine-nongre/Blog-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLOG API

This repository houses the backend code for a lightweight, user-friendly blog platform built with NodeJS and express.This project allows users to:
  ⚪ Create and manage blog posts: Write, edit, add titles, bodies, and categories.
  ⚪ Comment on blog posts: Leave comments on a post.
  ⚪ User roles and permissions: Differentiate between admins, authors, and readers with varying access levels.

FEATURES IMPLEMENTED

✔️ User signup and login with secure hashing and jwt authentication
✔️ Users with Author permissions can create posts
✔️ Users with admin permissions can create / delete categories
✔️ Users can comment on a blog posts

TECHNOLOGIES USED

NodeJS MySQL Express.js JWT

GETTING STARTED

  1. Clone the project

    git clone https://github.com/Ayine-nongre/Blog-API.git
    
  2. Change to project directory

    cd Blog-API/
    
  3. Set up enviroment variables in env file

    DB_USER, DB_PASSWD, PRIVATEKEY
    
  4. Install packages used in project

    npm install
    
  5. Start server

    nodemon app.js
    

DISCLAIMER

This project is a basic implementation and lacks some advanced features like search, analytics, or social integrations. Feel free to extend its functionalities and tailor it to your specific needs.

I hope you find this project useful 😄

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published