This is an E-commerce website built with ASP.NET MVC for Joe's Gaming, a store specializing in video games. It allows users to browse a selection of new and vintage games, consoles, and accessories.
To run this project locally, you need to have the following installed:
- .NET 8 SDK
- Visual Studio 2022
- SQL Server
- Entity Framework Core
- Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
- Microsoft.EntityFrameworkCore.SqlServer
-
Clone the Repository:
- Go to the GitHub repository:
https://github.com/yourusername/joes-gaming - Click on the green "Code" button and copy the repository URL.
- Open Visual Studio 2022.
- Go to
File > Clone Repository. - Paste the repository URL and click
Clone.
- Go to the GitHub repository:
-
Restore Dependencies:
- Open the
Joe's Gamingsolution in Visual Studio. - In the
Solution Explorer, right-click on the solution and selectRestore NuGet Packages.
- Open the
-
Add Required Packages:
- In the
Solution Explorer, right-click on the project and selectManage NuGet Packages. - Search for and install the following packages:
- In the
-
Update the Database:
- Ensure that SQL Server is running.
- Open the
Package Manager Consolein Visual Studio by going toTools > NuGet Package Manager > Package Manager Console. - In the
Package Manager Console, typeUpdate-Databaseand pressEnter. This will apply the latest migrations to the database.
-
Run the Application:
- In Visual Studio, set the startup project to the main web application project.
- Press
F5or click theStartbutton to run the application. - The application should now open in your default web browser.
Here are some links to useful resources for the project: