Mobile-first MERN app with a medallion-style backend (Bronze/Silver/Gold) and Nebius NLP integration for conversational habit logging.
- Create environment files:
- server/.env (copy from server/.env.example)
- client/.env (copy from client/.env.example)
- Install dependencies:
- npm install
- Run dev servers:
- npm run dev
- npm run dev: run API and web app
- npm run start: run API server
- npm run build: build client
- MONGODB_URI: Mongo connection string
- NEBIUS_API_KEY: API key for Nebius
- NEBIUS_API_BASE: Base URL for Nebius API (optional)
- NEBIUS_MODEL: Model name (optional)
- PORT: API port (default 4000)
- VITE_API_BASE: Client API base URL (optional)