Setup¶
This document provides verified steps to run the ReUseIt project for development.
Prerequisites¶
- Node.js (LTS version)
- pnpm package manager
- Docker and Docker Compose
- Python 3.10+ (for ML training)
1. Install Dependencies¶
2. Environment Configuration¶
Create environment files from examples:
Edit the .env files with appropriate values for your development environment.
3. Start Infrastructure Services¶
4. Setup Backend¶
cd apps/backend
pnpm prisma:generate
pnpm prisma:migrate:dev
pnpm prisma:seed # Optional: loads sample data
5. Start Backend Development Server¶
6. Setup Mobile App¶
7. ML Training Setup (Optional)¶
cd apps/ml-training
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Training scripts are now ready to run
Verification¶
- Backend API: http://localhost:3000/graphql (GraphQL Playground)
- Mobile App: Connects to backend and shows login screen
- Database: User registration works and data persists
Last Updated: December 2025