AI Family Planner is an intelligent assistant for families, helping with task management, dispute resolution, and activity suggestions.
- User authentication
- Family creation and management
- Task assignment and tracking
- AI-powered dispute resolution
- Activity suggestions based on family preferences and weather
- Integration with Google Calendar for event management
- Backend: Node.js, Express.js, MongoDB
- Frontend: React.js with TypeScript, Tailwind CSS
- AI: Hugging Face Spaces (Llama 3.2)
- APIs: Google Calendar API, OpenWeatherMap API
- Deployment: Docker, Hugging Face Spaces
- Node.js (v14 or later)
- MongoDB
- Google Cloud Platform account (for Google Calendar API)
- OpenWeatherMap API key
- Hugging Face account
-
Clone the repository:
git clone https://github.com/yourusername/ai-family-planner.git cd ai-family-planner
-
Install dependencies for both backend and frontend:
npm install cd client && npm install
-
Create a
.env
file in the root directory and add the following environment variables:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret OPENWEATHERMAP_API_KEY=your_openweathermap_api_key GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret HUGGINGFACE_API_KEY=your_huggingface_api_key
-
Start the development server:
npm run dev
-
Build the React frontend:
cd client && npm run build
-
Build the Docker image:
docker build -t ai-family-planner .
-
Push the Docker image to your preferred container registry.
-
Deploy the application to Hugging Face Spaces:
- Create a new Space on Hugging Face
- Configure the Space to use your Docker image
- Set the environment variables in the Space settings
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.