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.
- 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.
- 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
- Clone the repository.
- Set up the required dependencies and ensure that all necessary packages are installed.
- Configure the connection strings for MongoDB and SQL Server databases in the project's configuration files.
- Build and run the project.
This project is licensed under the MIT License.