GithubHelp home page GithubHelp logo

saadarazzaq / al-saadi-bookstore Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 57.64 MB

Advanced Programming Final Exam Spring 2023

C# 6.24% CSS 0.19% ASP.NET 0.05% JavaScript 83.35% HTML 10.17%
asp-net crud-application db-first-approach mysql-database

al-saadi-bookstore's Introduction

Al Saadi Bookstore

Description

Al Saadi Bookstore is a web-based bookstore application developed using ASP.NET MVC, ADO.NET, and Entity Framework. It follows a Database First approach and utilizes Microsoft SQL Server Management Studio 2019 (SSMS) and MySQL as the database query language. Visual Studio 2019 is used to manage the backend of the web application. The application consists of three modules: admin, user, and books.

The admin module allows administrators to perform various tasks such as adding, deleting, updating, and viewing books. The user module is designed for registered users who can browse and purchase books by adding them to their cart. The books module handles the creation and management of book properties. All three modules are synchronized with each other.

Prerequisites

To run this application, you need to have the following software installed:

  • Microsoft SQL Server Management Studio 2019

  • Visual Studio 2019

  • Create 3 SQL Tables All of the screenshots are provided below:

  • Tables that are to be created👇

    image

  1. dbo.addBooks image
  2. dbo.Admin image
  3. dbo.addUsers image

Setup Instructions

  1. Clone this repository to your local machine or download the source code as a ZIP file.
  2. Open the project in Visual Studio 2019.
  3. Open the solution file (20F-0292_BCS 6E_Advanced Programming Final.sln) from the project root directory.
  4. In Visual Studio, open the Package Manager Console (Tools > NuGet Package Manager > Package Manager Console).
  5. Run the following command in the Package Manager Console to restore the required NuGet packages:
  6. In the Solution Explorer, expand the project and locate the Web.config file.
  7. Update the connection string in the Web.config file with your database server and credentials.
  8. Open SQL Server Management Studio 2019 and create a new database using the provided SQL table screenshots to make database tables first in SSMS before running .sln file.
  9. Once the database is created, update the connection string in the Web.config file to point to the newly created database.
  10. Build the solution in Visual Studio (Build > Build Solution).
  11. Run the application by pressing F5 or using the Debug menu (Debug > Start Debugging).

Note: Make sure that both SSMS 2019 and Visual Studio 2019 are properly configured and running before executing the above steps.

Usage

  1. Open a web browser and navigate to http://localhost:<port> (replace <port> with the appropriate port number).
  2. The application homepage will be displayed, where you can register as a user or log in as an admin.
  3. Once logged in, you can perform the respective tasks based on your role (admin or user).
  4. As an admin, you can manage books by adding, deleting, updating, or viewing them.
  5. As a user, you can browse books, add them to your cart, and proceed with the purchase.

License

This project is licensed under the MIT License.

al-saadi-bookstore's People

Contributors

saadarazzaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.