Welcome to the EBook e-commerce application repository! This project is a complete online bookstore built using ASP.NET Core MVC, Entity Framework Core, and ASP.NET Core Identity. It aims to demonstrate the capabilities of ASP.NET Core in creating a robust and scalable e-commerce platform.
EBook is an e-commerce application designed to sell books online. It includes a variety of features typical of modern e-commerce websites, such as user authentication, product management, shopping cart, and order processing. The application is built using the latest technologies provided by .NET Core.
- User Authentication and Authorization: Register, login, and manage user roles.
- Product Management: CRUD operations for books.
- Shopping Cart: Add books to the cart and manage cart items.
- Order Processing: Checkout and order history.
- Payment Integration: Stripe payment gateway integration.
- Responsive Design: Built with Bootstrap v5 for a responsive user interface.
- Admin Dashboard: Manage users, roles, and book inventory.
- Email Notifications: Send email notifications for various actions.
To run this project, you need the following tools:
- Visual Studio 2022
- .NET 8 SDK
- SQL Server Management Studio
- Node.js (for frontend dependencies)
Follow these steps to set up the project locally:
-
Clone the Repository:
git clone https://github.com/NANITH777/EBook.git cd your-repo-name
-
Set Up the Database:
- Open SQL Server Management Studio and create a new database named
EBook
. - Update the connection string in
appsettings.json
to match your SQL Server configuration.
- Open SQL Server Management Studio and create a new database named
-
Apply Migrations:
dotnet ef database update
-
Install Frontend Dependencies:
cd EBook npm install
-
Run the Application:
- Open the solution in Visual Studio.
- Restore NuGet packages.
- Run the project.
Once the application is running, you can access it at https://localhost:7280/
. Use the admin dashboard to manage books, users, and orders. Regular users can browse books, add them to the cart, and complete purchases.
- /EBook: Main project directory.
- /Controllers: MVC controllers.
- /Models: Entity models and view models.
- /Views: Razor views.
- /wwwroot: Static files (CSS, JavaScript, images).
- /Data: Database context and migrations.
- /Services: Business logic and service classes.
Contributions are welcome! Feel free to submit issues and pull requests to enhance the project.
This README provides an overview and guide to the EBook e-commerce project. It includes information on setting up, using, and deploying the application, as well as a detailed look at the project structure.