Common workflows for different project types. Copy these into Warp Drive!
Frontend development workflows
npm i axios
HTTP client
npm i zustand
State management
npm i react-query
Data fetching
npm i framer-motion
Animations
API and server development
npx prisma init
Setup Prisma
npx prisma migrate dev
Run migrations
npx prisma studio
DB GUI
npx prisma generate
Generate client
AI, data science, and backend
pip install fastapi uvicorn
API framework
pip install openai
OpenAI SDK
pip install pandas numpy
Data science
pip install langchain
LLM framework
Container management
docker ps
List running containers
docker ps -a
List all containers
docker images
List images
docker build -t name .
Build image
docker run -p 3000:3000 name
Run container
docker-compose up -d
Start services
docker-compose down
Stop services
docker logs -f container
View logs
Ship to production
vercel
Preview deploy
vercel --prod
Production deploy
vercel env pull
Pull env vars
vercel logs
View logs
When things go wrong
# what's using port 3000
Find port conflict
# kill process on port 3000
Free up port
# show disk usage
Check storage
# list running processes
Find hung processes
When you get an error, just type # explain this error or # fix this and let Warp AI help!
Need a quick reference?
View Cheat Sheet