Welcome to BookShop! This is a demo project showcasing the usage of ASP.NET Core 7.0, Entity Framework (EF) Core ORM, and SQL Server database. The project demonstrates a basic CRUD (Create, Read, Update, Delete) functionality and follows a three-layered architecture.
- Book gallery: Users can browse through a collection of books available in the bookstore.
- Ordering books: Users can place orders for books they wish to purchase.
- Rating and commenting: Users can rate and leave comments on books they have purchased using AJAX for smooth interaction.
- Role-based authentication: The project utilizes ASP.NET Core Identity for user authentication and authorization, allowing for role-based access control.
- Admin panel: An admin panel is available for managing users, orders, book CRUD operations, and comments.
- ASP.NET Core 7.0
- Entity Framework Core (EF Core) ORM
- SQL Server
- AJAX
- ASP.NET Core Identity
- Clone the repository:
git clone https://github.com/codehaks/BookShop.git
- Navigate to the project directory:
cd BookShop
- Open the solution file
BookShop.sln
in Visual Studio or your preferred development environment. - Modify the connection string in the
appsettings.json
file to match your SQL Server database configuration. - Build and run the application.
Make sure you have the required dependencies and versions compatible with ASP.NET Core 7.0 installed on your system.
- Launch the application and open your web browser.
- Explore the book gallery to view available books.
- Place orders for books by following the provided prompts.
- Rate and leave comments on books you have purchased using the provided AJAX functionality.
- Access the admin panel to manage users, orders, books, and comments.
Contributions to BookShop are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
When contributing, please ensure that your code follows the existing coding style and that you include appropriate tests.
This project is licensed under the MIT License.