541 B
541 B
Blog Editor Backend
Express.js API server for the blog editor application.
Setup
- Install dependencies:
npm install
-
Create
.envfile (see.env.example) -
Create PostgreSQL database:
createdb blog_editor
- Run migrations:
npm run migrate
- Start server:
npm run dev
API Documentation
See main README.md for API endpoints.
Database
PostgreSQL database with two main tables:
users- User accountsposts- Blog posts
Run migrations to set up the schema.