/dating-app

Basic web application with .NET 7 and Angular

Primary LanguageC#

dating-app

Based on of Neils Cummings's course on Udemy Build an app with ASPNET Core and Angular from scratch.

Features

Prerequisites

Technologies

ASP .NET CORE 7

  • REST API
  • Entity Framework Core
  • Paging and Filtering
  • Automapper
  • ASP .NET Core Identity
  • JWT Tokens
  • SignalR
  • Repository Pattern
  • Options Pattern
  • Unit Of Work Pattern

Angular 16

  • Template forms
  • Reactive forms
  • Reusable form controls
  • Input validations
  • Observables
  • Component communication (parent <-> child)
  • Directives
  • Route guards
  • Routing
  • Route resolvers
  • Interceptors
  • Bootstrap theme
  • Signalr
  • Cache

Getting Started

Database Configuration

The solution is configured to use Sqlite by default. Feel free to change to another database service as SQL Server or In-Memory Database if you want.

Database Migration

Add a new migration from the api folder:

dotnet ef migrations add "MyMigration"

Then, you need run the api project to populate the data from the /API/Data/UserSeedData.json

dotnet run

Important! It needs to remove all migrations when changing a database service.

Overview

API

This layer is a Web API based on ASP.NET Core 7. Contains fundamental examples to start codig with C# and .NET Core 7.

Cloudinary

  • Open a free account and save your credentials in /API/appsettings.json

"CloudinarySettings": { "CloudName": "YourCloudinaryName in cloudinary.com", "ApiKey": "YourApiKey", "ApiSecret": "YourApiSecret" }

Clien-App

This is a client app based on Angular with typescript, it represent the front-end of this application. A basic hands-on.

Have fun!