An application that helps prioritize tasks using AI, based on the Eisenhower Matrix methodology.
- AI analysis of tasks to determine importance and urgency
- Clean, modern UI for task management
- Credit system with 100 free credits for new users
- Secure user authentication
frontend/
- React/Vite frontend applicationbackend/
- Node.js/Express backend API
- Node.js 14+ and npm
- MongoDB database
- Firebase project (for authentication)
- Replicate API account (for AI analysis)
For security reasons, environment variables containing API keys and credentials are not committed to version control. Follow these steps to set up your environment:
-
Backend Setup
- Copy
.env.example
to create new.env.development
and.env.production
files:
cp backend/.env.example backend/.env.development cp backend/.env.example backend/.env.production
- Edit these files to add your actual credentials:
MONGO_URI
- Your MongoDB connection stringSTRIPE_SECRET_KEY
- Your Stripe secret key (for payments)STRIPE_WEBHOOK_SECRET
- Your Stripe webhook secretREPLICATE_API_TOKEN
- Get from https://replicate.com/account/api-tokensJWT_SECRET
- A secure random string for JWT authentication
- Copy
-
Frontend Setup
- Copy
.env.example
to create new.env.development
and.env.production
files:
cp frontend/.env.example frontend/.env.development cp frontend/.env.example frontend/.env.production
- Edit these files to add your Firebase credentials:
VITE_FIREBASE_API_KEY
- Firebase API keyVITE_FIREBASE_AUTH_DOMAIN
- Firebase auth domain- And other Firebase configuration values
- Copy
-
Install root dependencies
npm install
-
Install frontend and backend dependencies
cd frontend && npm install cd ../backend && npm install cd ..
-
Start the development server
npm run dev
This will start both frontend and backend in development mode.
- New users start with 100 free credits
- Each task analyzed consumes 1 credit
- Additional credits can be purchased through the application
- Environment Variables: Never commit actual API keys or secrets to version control
- Development: For local development, use the mock authentication option if Firebase auth fails
- API Security: The backend implements rate limiting and proper authentication
Follow these steps to deploy the application:
-
Build the frontend:
cd frontend && npm run build
-
Set up your production environment variables using your hosting provider's environment management
-
Deploy the backend to your server or cloud provider