A smart wardrobe application that provides clothing recommendations based on weather conditions. Built with Angular and .NET Core.
- Get clothing recommendations based on location
- Simulated weather data generation
- Admin dashboard for managing clothing items
- Responsive design for all devices
- Frontend: Angular 18.2.7
- Backend: .NET 8
- Database: PostgreSQL
- API: RESTful endpoints
- Node.js and npm
- .NET 8 SDK
- PostgreSQL
- Angular CLI
-
Clone the repository:
git clone git@github.com:gwelinder/weather-wardrobe.git cd weather-wardrobe
-
Install Frontend Dependencies:
npm install
-
Install Backend Dependencies:
cd WeatherWardrobeApi dotnet restore
-
Set up the Database:
- Create a PostgreSQL database
- Update the connection string in
appsettings.json
- Run migrations:
dotnet ef database update
-
Start the Backend:
dotnet run
-
Start the Frontend:
ng serve
-
Open your browser and navigate to
http://localhost:4200
/src
- Angular frontend application/WeatherWardrobeApi
- .NET Core backend application/Controllers
- API endpoints/Models
- Data models/Data
- Database context and migrations
- Run
ng serve
for a dev server - Navigate to
http://localhost:4200/
- The application will automatically reload if you change any source files
- Run
dotnet run
from the WeatherWardrobeApi directory - API will be available at
http://localhost:5055
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.