A fullstack travel blog built using React (frontend) and Node.js with PostgreSQL (backend). Users can create, update, and explore travel posts with images and descriptions.
- Frontend: React, Vite, React Router for navigation.
- Backend: Node.js, Express, PostgreSQL with CRUD API.
- Database: PostgreSQL with
poststable includingid, author, title, content, cover, date.
- Clone frontend (
git clone <frontend_repo>) & backend (git clone <backend_repo>). - Install dependencies (
npm install), configure.env, and start servers.
GET /posts→ Retrieve all posts.GET /posts/:id→ Retrieve a single post.POST /posts→ Create a new post.PUT /posts/:id→ Update a post.DELETE /posts/:id→ Delete a post.
Follow Git workflow: Use feature branches & pull requests. No direct pushes to main.