Skip to content

Mythili-Velivelli/BlogCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlogCraft 📝

A simple blogging app enabling users to create, edit, and delete blog posts.These blog posts persist and can be retrieved anytime with the help of database.

Features

  • Create, update, delete posts
  • PostgreSQL for database
  • EJS for templating
  • Minimial UI

Technologies

  • Node.js + Express
  • PostgreSQL
  • EJS + HTML/CSS

Screenshots

Home Page

Home Page

Create Post Page

Create Post

Edit Post Page

Create Post

How to Run

  1. Clone the repo
  2. Run npm install
  3. Create posts table in PostgreSQL:
    CREATE TABLE posts (
      id SERIAL PRIMARY KEY,
      title TEXT NOT NULL,
      content TEXT NOT NULL,
      date TEXT
    );
  4. Create a .env file with your DB credentials
  5. Run node index.js and go to http://localhost:3000

Made by Mythili ❤️

About

A minimal blogging platform using Node, Express, and PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors