QuickBlog is a simple full‑stack blog demo used to showcase Cursor's capabilities in web development. It includes a React + Vite client and an Express + MongoDB server, with ImageKit for image hosting and Google Gemini for optional AI‑assisted content generation.
🎓 Workshop Slides — Learn how to build features with Cursor AI through our comprehensive workshop covering key concepts, best practices, and development workflows.
📚 Implementing Comments Feature Demo — Complete hands-on walkthrough showing how to use Cursor's planning mode with Figma designs to build a full admin comments management page.
client/— React 19 app (Vite, Tailwind, React Router, Quill editor, Marked, React Hot Toast)server/— Express 5 API (MongoDB/Mongoose via Docker, JWT auth, Multer, ImageKit, Gemini)
Figma reference: https://www.figma.com/design/b0ILCMLfSEsx7NUclZAg3E/QuickBlog?node-id=0-1&m=dev&t=Jo8qI7kBgrtOqFZT-1
For the full feature list and API documentation, see server/README.md.
- Start the Server (starts local MongoDB via Docker + seeds data)
- Start the Client
See server/README.md and client/README.md for detailed steps. Briefly:
Server
- Copy
server/.env.exampletoserver/.envand fill in your credentials:- Database credentials (
MONGODB_USER,MONGODB_PASSWORD,MONGODB_DATABASE) - JWT secret (
JWT_SECRET) - ImageKit keys (
IMAGEKIT_PUBLIC_KEY,IMAGEKIT_PRIVATE_KEY,IMAGEKIT_URL_ENDPOINT) - Gemini API key (
GEMINI_API_KEY)
- Database credentials (
cd server && npm install && npm run setup(starts local MongoDB in Docker + creates schema + seeds test data)npm run server(starts API on port 5001)
Client
- Copy
client/.env.exampletoclient/.envand set:VITE_BASE_URL=http://localhost:5001
cd client && npm install && npm run dev(starts dev server on port 5173)
Admin Login (after seeding)
- Navigate to
http://localhost:5173/admin - Email:
admin@quickblog.com/ Password:admin123
This project uses a local MongoDB database running in Docker (no cloud database needed). The database is automatically set up when you run npm run setup in the server directory.
To view your data:
- Mongo Express (Web UI):
http://localhost:8081(login with yourMONGODB_USER/MONGODB_PASSWORD) - MongoDB Compass (Desktop): Connect to
mongodb://quickblog:quickblog123@localhost:27017
See server/README.md and client/README.md for complete environment configuration. Server requires database credentials, JWT_SECRET, ImageKit keys, and GEMINI_API_KEY. Client only needs VITE_BASE_URL.
