It is a source code of the youtube tutorial on book shopping cart in .net core mvc. Initially it was designed to explain how shopping cart 🛒 works in dot net core mvc. But now it has more features except payment gateway. A ⭐ in repository is highly appreciated, helps to promote my content.
📢 Initially , this project was built with .net 7. But it is Upgraded to .net 9.0. now and I will try to keep it up to date.
- Dotnet core mvc (.Net 9)
- MS SQLServer 2022 (Database)
- Entity Framework Core (ORM)
- Identity Core (Authentication)
- Bootstrap 5 (frontend)
- Visual Studio 2022 (Alternatives (.NET SDK + VS Code or .NET SDK + JetBrains Rider)
- Microsoft Sql Server Management Studio (Alternative Azure data studio or you can just execute sql from terminal)
Note: Every tool and tech is free for personal use.
- Open the command prompt. Go to a directory where you want to clone this project. Use this command to clone the project.
git clone https://github.com/rd003/BookShoppingCart-Mvc
-
Go to the directory where you have cloned this project, open the directory
BookShoppingCart-Mvc
. You will find a file with nameBookShoppingCartMvc.sln
. Double click on this file and this project will be opened in Visual Studio. -
Open
appsettings.json
file and update connection string.
"ConnectionStrings": {
"conn": "data source=your_server_name;initial catalog=MovieStoreMvc; integrated security=true;encrypt=false"
}
- Run the project.
📢 When you run the project for the first time, it will do following things:
- It will generate the database
- It will seed some data
- It will create an account for
admin
Click on the link named login
and get logged-in with these credentials.
username: admin@gmail.com
password: Admin@123
1.Homepage
2.Homepage continued
3.Login
4.Registration
5.Add To Cart
6.Cart
7.Checkout
8.Order success
9.Admin Login
10.Admin Dashboard
11.Orders
12.Order Detail
13.Update Order Status
14.Display Stock
15.Update Stock
16.Display Genre
17.Add Genre
18.Update Genre
19.Display Books
20.Add Book
21.Update Book
22.Top Selling Books
If you find this repository useful, then consider to leave a ⭐.
Connect with me
👉 YouTube: https://youtube.com/@ravindradevrani
👉 Twitter: https://twitter.com/ravi_devrani
Become a supporter ❣️: You can buy me a coffee 🍵 : https://www.buymeacoffee.com/ravindradevrani
Thanks a lot 🙂🙂