codehaks / BookShop

Demo Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BookShop

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.

Features

  • 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.

Technologies Used

  • ASP.NET Core 7.0
  • Entity Framework Core (EF Core) ORM
  • SQL Server
  • AJAX
  • ASP.NET Core Identity

Installation

  1. Clone the repository: git clone https://github.com/codehaks/BookShop.git
  2. Navigate to the project directory: cd BookShop
  3. Open the solution file BookShop.sln in Visual Studio or your preferred development environment.
  4. Modify the connection string in the appsettings.json file to match your SQL Server database configuration.
  5. 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.

Usage

  1. Launch the application and open your web browser.
  2. Explore the book gallery to view available books.
  3. Place orders for books by following the provided prompts.
  4. Rate and leave comments on books you have purchased using the provided AJAX functionality.
  5. Access the admin panel to manage users, orders, books, and comments.

Contributing

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.

License

This project is licensed under the MIT License.

About

Demo Project


Languages

Language:C# 67.8%Language:HTML 30.3%Language:CSS 1.5%Language:Dockerfile 0.3%Language:JavaScript 0.1%Language:Smalltalk 0.0%