Skip to content

donpotts/ReactModernClientServerContacts

Repository files navigation

React Modern Client with ASP.Net Core API Server

Overview

This repository contains an ASP.NET Core API Server with a React Modern client application. It also includes user authentication using ASP.NET Core Identity, uses Entity Framework Core SQLite as the database, and supports OData for efficient querying.

Features

  • ASP.NET Core Kestrel web server: A robust and high-performance server.
  • React: A modern web UI.
  • Swagger UI: An interactive documentation for your API.
  • ASP.NET Core Identity: A membership system that adds login functionality to your application.
  • Entity Framework Core SQLite: A lightweight database provider for Entity Framework Core.
  • OData Support: A standard for building and consuming RESTful APIs.

Getting Started

Prerequisites

  • Visual Studio 2022
  • .NET 9
  • ASP.NET Core
  • React, Vite, Tailwind CSS
  • Node.js
  • Swagger UI
  • ASP.NET Core Identity
  • Entity Framework Core SQLite
  • OData

Installation

  1. Clone the repo "git clone https://github.com/donpotts/ReactModernClientServerContacts.git"
  2. Install .NET packages
  3. Install Node.js
  4. Install any missing packages
  5. dotnet restore

Authentication

This application uses ASP.NET Core Identity for user authentication.

Administrator

Username: adminUser@example.com

Password: testUser123!

Normal user

Username: normalUser@example.com

Password: testUser123!

OData Support

This application supports OData for efficient querying. You can use OData query options on the API endpoints.

Contact

Don.Potts@DonPotts.com

About

Sample Contacts API server with React Modern client application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages