Fashion Forecast is a web application that helps users plan their outfits based on the weather forecast. Users can sign up, log in, and receive outfit suggestions tailored to their location and weather conditions.
- User authentication with email and username
- Weather-based outfit suggestions
- Responsive design for various screen sizes
- Integration with external weather and geolocation services
To get a local copy up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/fashion-forecast.git cd fashion-forecast
-
Install dependencies:
Make sure you have Node.js and npm installed.
npm install
-
Set up environment variables:
Create a
.env
file in the root directory and add your environment variables:DB_STRING=your_database_connection_string DB_NAME=your_database_name SESSION_SECRET=your_session_secret CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secret PORT=3000 WEATHER_API_KEY= your_weather_api_key
- Cloudinary Setup:
- Sign up for a Cloudinary account.
- Once logged in, navigate to the Cloudinary Dashboard to find your Cloud Name, API Key, and API Secret.
- Add these credentials to your
.env
file as shown above.
- Cloudinary Setup:
-
Run the application:
npm start
The application will be available at
http://localhost:3000
.
- Sign Up: Create an account using your email, username, and password.
- Log In: Access your account using either your email or username along with your password.
- Get Outfit Suggestions: Receive outfit recommendations based on the current weather in your location.
- Database: The application uses MongoDB. Ensure your MongoDB instance is running and accessible.
- Weather and Geolocation Services: Integrate with external APIs for weather and geolocation data. Ensure you have the necessary API keys and configurations.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.