https://github.com/fritzthecat9/weather
Simple CRUD app using .NET and Angular
https://github.com/fritzthecat9/weather
angular csharp dot-net
Last synced: 2 months ago
JSON representation
Simple CRUD app using .NET and Angular
- Host: GitHub
- URL: https://github.com/fritzthecat9/weather
- Owner: FritzTheCat9
- Created: 2024-12-02T11:56:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-08T13:54:45.000Z (over 1 year ago)
- Last Synced: 2025-02-10T09:42:03.460Z (over 1 year ago)
- Topics: angular, csharp, dot-net
- Language: C#
- Homepage:
- Size: 294 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather
Simple CRUD app using .NET and Angular
## Table of contents
* [Launch](#launch)
* [Presentation](#presentation)
* [Technologies](#technologies)
* [Architecture](#architecture)
* [Project types and references](#project-types-and-references)
* [Features](#features)
## Launch
Run application with two commands (setup all docker containers, create database, apply migrations):
```
cd C:\Users\bartl\source\repos\Weather\src\Weather.Api
docker compose up --build -d
cd C:\Users\bartl\source\repos\Weather\src\weather
ng serve
```
Created containers:
- C# Web API backend:
```
http://localhost:5000
```
- MSSQL database:
```
Host: localhost
Port: 1433
Database/Schema: Weather
Username: sa
Password: Password1!
Server: weather.database
```
- Seq Api logs:
```
http://localhost:8081
```
- Angular frontend:
```
http://localhost:4200
```
## Presentation
Weather view:

## Technologies
- C# 13
- .NET 9.0
- Angular 19
## Architecture
Angular frontend with .NET Minimal API backend connecting to the MSSQL database. Monolithic architecture with
Vertical Slices. Code separated by feature.
## Project types and references
- Weather.Api - ASP .NET Core Web API (Backend)
- weather - Angular Project (Frontend)
## Features
- Cities
- Create city
- Delete city
- Update city
- Get all cities (load cities weather)
- Get city (load city weather)