A Full Stack Employee Management System built with .NET Core, JWT Authentication, and Blazor for the front end.
The Employee Management System is a web application designed to manage employee data efficiently. It includes features such as employee registration, login, and profile management, along with JWT-based authentication for secure access. The front end is built using Blazor, providing a modern, responsive user interface.
- User Registration and Login
- JWT Authentication
- Employee Profile Management
- Role-Based Access Control
- Responsive User Interface with Blazor
- Secure API Endpoints
- Backend: .NET Core
- Frontend: Blazor
- Authentication: JWT (JSON Web Token)
- Database: SQL Server
- Hosting: Azure (Optional)
-
Clone the repository:
git clone https://github.com/yourusername/employee-management-system.git cd employee-management-system/Backend
-
Update the
appsettings.json
file with your SQL Server connection string. -
Run the following command to restore dependencies and build the project:
dotnet restore dotnet build
-
Apply database migrations:
dotnet ef database update
-
Start the backend server:
dotnet run
-
Navigate to the frontend project directory:
cd ../Frontend
-
Restore dependencies and build the project:
dotnet restore dotnet build
-
Start the Blazor server:
dotnet run
- Open your browser and navigate to
http://localhost:5000
for the backend andhttp://localhost:5001
for the frontend. - Register a new account or log in with existing credentials.
- Explore and manage employee data through the user interface.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.