Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Hyperspan/Base-Auth

Repository files navigation

Auth with Identity Framework in PostgreSQL for .NET Core

This repository contains a basic code base for implementing authentication and authorization using Identity Framework in a .NET Core application with PostgreSQL as the database.

Table of Contents

Introduction

Authentication and authorization are fundamental aspects of many web applications. This project demonstrates how to set up a .NET Core application with Identity Framework to manage user authentication and authorization. PostgreSQL is used as the database for storing user information and related data.

Prerequisites

Before you begin, ensure you have met the following requirements:

Getting Started

  1. Set up your PostgreSQL database and update the connection string in appsettings.json to point to your database.

  2. Open the solution in your preferred development environment (e.g., Visual Studio or Visual Studio Code).

  3. Build and run the application.

Features

  • User registration and login.
  • Role-based authorization.
  • Manage user profiles and roles.
  • Secure password hashing.

Usage

  1. Register a new user on the application.
  2. Log in with your registered credentials.
  3. Explore the different features and roles based on your permissions.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request to this repository's main branch.

License

This project is licensed under the MIT License.

Packages

No packages published

Languages