Lenzora β Developer Setup
This document explains how to set up the frontend (React + Vite + Tailwind) and backend (Node.js + Hono + MongoDB Atlas) locally.
πΉ Prerequisites
Make sure you have these installed:
Node.js (v18+ recommended)
npm (comes with Node)
Git
MongoDB Atlas connection string (ask Jeet for .env details)
πΉ Clone the Repository git clone https://github.com//photo-editing-app.git cd photo-editing-app
πΉ Backend Setup (Hono + MongoDB)
Go to the backend folder:
cd backend
Install dependencies:
npm install
Create a .env file in backend/ with:
MONGO_URI=your-mongodb-atlas-uri
Start the backend:
npm start
Runs at: http://localhost:3001
πΉ Frontend Setup (Vite + React + Tailwind)
Go to the frontend folder:
cd ../frontend
Install dependencies:
npm install
Start the dev server:
npm run dev
Runs at: http://localhost:5173
πΉ Project Structure photo-editing-app/ βββ backend/ # Hono backend + MongoDB βββ frontend/ # Vite + React + Tailwind frontend βββ .gitignore βββ README-dev-setup.md
πΉ Git Workflow (Important)
Never commit .env or node_modules.
Work in feature branches:
git checkout -b feature/your-feature-name
Push your branch and open a PR for review.
πΉ Common Commands
Backend
cd backend npm start
Frontend
cd frontend npm run dev