Skip to content

mojtabapaso/Shop-MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

This project is a multilingual website with support for both Persian and English languages. It utilizes multiple data sources, including MongoDB and SQL Server databases. The design patterns used in this project are Singleton and Unit of Work.

Features

  • Multilingual Support: The website supports both Persian and English languages, allowing users to switch between languages seamlessly.
  • Discount Code Functionality: The website includes a discount code feature where users can apply a discount code to their shopping cart and receive a discounted price.
  • Shopping Cart: Users can add products to their shopping cart and view the total price of the items.
  • Singleton Design Pattern: The Singleton design pattern is used to ensure that only one instance of certain classes, such as database connections or configuration settings, is created throughout the application.
  • Unit of Work Design Pattern: The Unit of Work design pattern is implemented to manage database transactions and ensure that a consistent state is maintained when working with multiple data sources.
  • Google OAuth 2.0 Authentication: Users can sign in to the website using their Google accounts, enhancing the security and convenience of the authentication process.

Technologies Used

  • Front-End: HTML, CSS,BootStrap JavaScript Ajax
  • Back-End: ASP.NET
  • Database: MongoDB, SQL Server
  • Design Patterns: Singleton, Unit of Work, Repository
  • OAuth 2.0

Installation and Setup

  1. Clone the repository.
  2. Set up the required dependencies and ensure that all necessary packages are installed.
  3. Configure the connection strings for MongoDB and SQL Server databases in the project's configuration files.
  4. Build and run the project.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages