This project is a virtual assistant application designed to help users manage their tasks and streamline daily activities effortlessly.
- User authentication and authorization
- Task management
- Real-time notifications
- API integration for weather and news updates
- Frontend: Vite, React
- Backend: Node.js, Express
- Database: MongoDB
- Cloud Storage: Cloudinary
- The application follows a microservices architecture with separate services for the frontend and backend, allowing for scalability and independent deployment.
- /api/auth: Handles user authentication and authorization.
- /api/user: Manages user data and profiles.
- Clone the repository.
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install - Run the development server:
npm run dev
- Clone the repository.
- Navigate to the backend directory:
cd backend - Install dependencies:
npm install - Set up your environment variables in a
.envfile. - Run the development server:
npm run dev
- MONGODB_URL: MongoDB connection string.
- JWT_SECRET: Secret key for JWT authentication.
- GEMINI_API_URL: URL for Gemini API.
- Cloudinary keys: Keys for Cloudinary integration.
- Ensure that the environment variables are set correctly in the production environment.
- Use a process manager like PM2 for managing the backend application.
- Deploy the frontend build folder to a static site hosting service (e.g., Vercel, Netlify).