P2S
Collection
Collection • 8 items • Updated
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
git clone https://github.com/YOUR_ORG/aitasker.git
cd aitasker
cd backend && npm install && cd ..
cd frontend && npm install && cd ..
cd ai-service
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
cd ..
cp backend\.env.example backend\.env
cp ai-service\.env.example ai-service\.env
Fill in backend\.env:
DATABASE_URL — pooled Neon connection stringDIRECT_URL — direct Neon connection stringJWT_SECRET — run node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"Fill in ai-service\.env:
ANTHROPIC_API_KEY — your Anthropic API keycd backend
npx prisma generate
cd ..
Open three terminals:
Terminal 1 — Backend
cd backend
npm run start:dev
→ http://localhost:3001 · Swagger at http://localhost:3001/api
Terminal 2 — AI Service
cd ai-service
venv\Scripts\activate
uvicorn app.main:app --reload --port 8000
Terminal 3 — Frontend
cd frontend
npm run dev
docker compose up --build -d
| Service | URL |
|---|---|
| Frontend | http://localhost |
| Backend API | http://localhost:3001/api |
| AI Service | http://localhost:8000/docs |
# Logs
docker compose logs -f
# Stop
docker compose down
Already set up — tables and seed data are live on the shared Neon project.
Get connection strings and put in backend\.env.
# Generate Prisma client (run once after cloning, and after any schema.prisma change)
cd backend && npx prisma generate
# Inspect live data in a browser UI
npx prisma studio