A web application that allows managers to manage their employees' details and add clients.
- .NET 6.0
- ASP.NET Core MVC
- Entity Framework Core
- Bootstrap
- C#
- HTML
- CSS
- Ensure .NET SDK and runtime are installed on your machine.
- Clone this repository to your local machine.
- Navigate to the HairSalon.Solution directory in your terminal.
- Touch a file in the HairSalon.Solution directory called appsettings.json add the following code, replacing the uid and pwd values with your own username and password for MySQL.
$ touch appsettings.json
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=Genesis_Scott;uid=[YOUR-USERNAME];pwd=[YOUR-MYSQL-PASSWORD];"
}
}
- Set up the Database. Follow the instructions in the LearnHowToProgram.com lesson "Creating a Test Database: Exporting and Importing Databases with MySQL Workbench" to use the Genesis_Scott.sql file located at the top level of this repo to create a new database in MySQL Workbench with the name Genesis_Scott.
- Run the command
dotnet restore
to install necessary packages. - Run the command
dotnet build
to compile the application. - Run
dotnet run
to start the server and application. - Visit localhost:5000 in your browser to access the Employee Manage application.
- Follow on-screen prompts to manage employee details.
- If you come across any difficulties or wish to give feedback, don't hesitate to get in touch or raise an issue on the repository.
- CSS styles might not be immediately applied because of caching challenges.
- There might be a need to manually stop the server (Ctrl+C) before executing dotnet watch run again.
If you have queries, feedback, or are interested in contributing to the codebase, feel free to get in touch.
Single point of contact: genesis@evolve-self.org