Skip to content

A web store that user controllers, action methods, views, Razor Pages, Blazor, routing, validation, and authentication. By Andrew Marchese

Notifications You must be signed in to change notification settings

AndrewJesse/SportsStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sports Store

The SportsStore application follows a clean and modular design, adhering to industry best practices and SOLID principles. It's a well-structured, scalable, and maintainable e-commerce solution built on the .NET framework, showcasing efficient implementation of essential features and modern development techniques using Docker, controllers, action methods, views, Razor Pages, Blazor, routing, validation, authentication, and more.

Features

🛒 Full-featured e-commerce application ⚙️ Built using ASP.NET Core 🐳 Docker integration for consistent development and deployment 🧪 Includes unit and integration tests 💉 Implements dependency injection 📚 Uses the repository pattern for data access 🛣️ Implements controllers, action methods, views, Razor Pages, Blazor, routing, validation, and authentication

Getting Started

Prerequisites Visual Studio or Visual Studio Code with C# and ASP.NET Core support .NET 6.0 SDK Docker

Installation

Clone the repository git clone https://github.com/yourusername/SportsStore.git Open the solution file SportsSln.sln in Visual Studio or open the project folder in Visual Studio Code Build the solution and run the SportsStore project dotnet build dotnet run --project SportsStore

Open a web browser and navigate to https://localhost:5000 to access the application

Docker Deployment

Make sure Docker is installed and running on your machine Navigate to the project folder in the terminal or command prompt

Build the Docker image: docker-compose build Run the Docker container:

docker-compose up Open a web browser and navigate to http://localhost:5000 to access the application running inside the Docker container

Running Tests

To run the tests in Visual Studio, open the Test Explorer and click "Run All Tests". In Visual Studio Code or from the command line, use the following command: dotnet test

Built With

ASP.NET Core - Web framework Bootstrap - CSS framework for responsive design Entity Framework Core - Object-relational mapper (ORM) for .NET Docker - Containerization platform for consistent development and deployment

About

A web store that user controllers, action methods, views, Razor Pages, Blazor, routing, validation, and authentication. By Andrew Marchese

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published