This is a full-stack application with a Node.js/Express backend and a React/Vite frontend.
- Node.js (v18 or higher recommended)
- PostgreSQL database
- pnpm, npm, or yarn package manager
- Navigate to the backend directory:
cd backend- Install dependencies:
npm install- Create a
.envfile in the backend directory with the following content:
DATABASE_URL="postgresql://username:password@localhost:5432/your_database"Replace the values with your PostgreSQL database credentials.
- Run database migrations:
npx prisma migrate deploy- Start the development server:
npm run devThe backend server will start at http://localhost:3000 (or your configured port).
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe frontend application will be available at http://localhost:5173.
- Build the backend:
cd backend
npm run build- Start the production server:
npm start- Build the frontend:
cd frontend
npm run build- Preview the production build:
npm run previewBackend:
- Node.js with TypeScript
- Express.js
- Prisma (ORM)
- PostgreSQL
- Authentication with JWT
- CORS enabled
Frontend:
- React 19
- TypeScript
- Vite
- TailwindCSS
- Zustand (State Management)
- React Router DOM
- Framer Motion
- Radix UI Components
- Hello Pangea DnD (Drag and Drop)
- Axios (HTTP Client)