Skip to content

Omprakash-Marri/Blog-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Platform

A minimal blog web application built with Express.js, EJS templates, JWT auth, and SQLite.
Users can register, log in, and perform full CRUD operations (Create, Read, Update, Delete) on blog posts.

Features

  • JWT-based Authentication
    • Secure login and signup flow.
    • Passwords hashed before storage.
  • SQLite Database
    • Lightweight and persistent local storage.
  • EJS Templates
    • Server-side rendering for all pages.
  • CRUD for Blog Posts
    • Create, edit, delete, and view posts. User Accounts
    • Each post is linked to its author.

Tech Stack

Layer Technology
Backend Node.js + Express
Templating Engine EJS
Database SQLite (via better-sqlite3 or sqlite3)
Authentication JWT (JSON Web Tokens)
Environment Variables dotenv
Development nodemon

Setup

1. Clone the repository

git clone https://github.com/Omprakash-Marri/Blog-Platform.git
cd Blog-Platform

2. Install dependencies

npm install

3. Create .env

  • Create an environment variable with name JWTSECRET and set its value (string).

4. Start the server

npm run dev

About

A blog website made using Express Nodejs, with SQLite database, along with JWT auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •