This is a C# MVC .NET Core 6 project that uses PostgreSQL as the database. It is designed to be run in a Docker container for easy deployment and management.
- C#
- ASP.NET Core 6 MVC
- PostgreSQL
- Docker
- Hangfire
- FluentValidation
- Serilog
To run this project, you'll need the following prerequisites:
Follow these steps to set up and run the project:
-
Clone this repository to your local machine:
git clone https://github.com/EmirBaran-Ozdemir/CRM.git
-
Navigate to the project directory:
cd CRM
-
Configure the PostgreSQL connection string in the
appsettings.json
file. -
Access the application in your web browser at
https://localhost:7133
.
Once the application is running, you can access its features through the web interface. Here are some common actions:
-
Customer Management: Add, edit, or delete customer information.
-
Product/License Management: Record details of products or licenses sold to customers.
-
Usage Limits: Set usage limits for customers and track their usage.
-
Invoice Generation: Invoices for excessive usage are automatically generated at the end of each month.
Authentication and Authorization
- The application uses Cookie-based authentication. Users can log in and access specific functionalities based on their roles (e.g., admin, buyer, seller).
Authorization policies are defined for different roles, such as "Admin," "Buyer," and "Seller."
Explain any configuration options or settings that users may need to modify in your application.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository on GitHub.
- Create a new branch with a descriptive name.
- Make your changes and commit them with clear messages.
- Push your changes to your fork.
- Submit a pull request to the original repository.
This project is licensed under the MIT License.