Skip to content

Web-based company management system built with ASP.NET Core MVC

Notifications You must be signed in to change notification settings

kilic-mustafa/CompanyManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Company Management System

This project is an ASP.NET Core MVC web application designed to manage company departments and personnel. It provides a web interface for performing CRUD (Create, Read, Update, Delete) operations on these entities.

Technologies Used

  • Framework: .NET 9
  • Database: PostgreSQL (configured via Entity Framework Core)
  • ORM: Entity Framework Core
  • Architecture: MVC (Model-View-Controller)
  • Authentication: Cookie-based authentication

Core Features

  • Department Management:
    • Add new departments
    • View department details
    • Update existing departments
    • Delete departments
  • Personnel Management:
    • Add new personnel
    • View personnel details
    • Update existing personnel
    • Delete personnel
    • Assign personnel to departments

Project Structure

The project follows a standard ASP.NET Core MVC structure:

  • Controllers/: Handles incoming requests and returns responses.
  • Models/: Contains the data models (DepartmentModel, PersonnelModel, AccountModel) and the Context.cs for Entity Framework Core.
  • Views/: Contains the UI templates for displaying data.
  • Migrations/: Contains Entity Framework Core database migration files.
  • wwwroot/: Static files like CSS, JavaScript, and images.

Setup Instructions

Prerequisites

  • .NET SDK (version 9.0 or later)
  • PostgreSQL database server
  • An appsettings.json configured with your database connection string.

Running the application

  1. Restore dependencies:
    dotnet restore
  2. Apply database migrations:
    dotnet ef database update
  3. Run the application:
    dotnet run

Contributing

Your contributions will make the project better! If you want to contribute:

  1. Fork the project.
  2. Create your own branch for a new feature or fix (git checkout -b feature/new-feature).
  3. Commit your changes (git commit -m 'Added new feature').
  4. Push your branch to the main repository (git push origin feature/new-feature).
  5. Open a Pull Request (PR).

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Web-based company management system built with ASP.NET Core MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published