BlogEditor/backend
chandresh 26a617e1d4 updated for languagees 2026-02-11 22:18:36 +05:30
..
config Blog post thumnaiul addition 2026-02-11 01:43:40 +05:30
images Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
middleware Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
migrations updated for languagees 2026-02-11 22:18:36 +05:30
routes updated for languagees 2026-02-11 22:18:36 +05:30
utils Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
.gitignore Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
README.md Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
UPDATE_ENV.md Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
env.example Initial commit: Blog Editor application 2026-02-08 03:59:53 +05:30
package.json workign need ux improvements 2026-02-08 15:13:39 +05:30
server.js workign need ux improvements 2026-02-08 15:13:39 +05:30
test-s3-access.js workign need ux improvements 2026-02-08 15:13:39 +05:30

README.md

Blog Editor Backend

Express.js API server for the blog editor application.

Setup

  1. Install dependencies:
npm install
  1. Create .env file (see .env.example)

  2. Create PostgreSQL database:

createdb blog_editor
  1. Run migrations:
npm run migrate
  1. Start server:
npm run dev

API Documentation

See main README.md for API endpoints.

Database

PostgreSQL database with two main tables:

  • users - User accounts
  • posts - Blog posts

Run migrations to set up the schema.