KG.Weather app is a simple React/ASP.NET Core application that displays tomorrow's weather conditions for select cities in which a fictional company, (KG), operates. The backend component connects to a weather API in order to retrieve the required weather data and is also responsible for notfiying workers of the functional company whenever rain is forecasted. If rain is forecasted, workers are notified that they are only required to work half-day.
Note: This was a programming task done as a requirement for a job interview
The project was generated using the ASP.NET Core React-with-Redux project template
- Open project in Visual Studio 2017
- Allow VS to restore nuget packages
- You may be required to install npm packages from the ClientApp folder
- Select F5 on the keyboard to run
Current appsettings assumes a default SQL Server instance at localhost and an SMTP server running on localhost, port 25. Suggested local SMTP servers that may be used are Papercut or MailDev. Database will be seeded at startup.
Backend
- ASP.NET Core 2.0
- Entity Framework Core
- MS SQL Server
- APIXU Weather API
- SOLID architecture in slices
- Mediator pattern
- DNTScheduler.Core: lightweight ASP.NET Core background tasks runner and scheduler
- Bogus: Fake data generator
- Swagger
Frontend