Git Product home page Git Product logo

bookshop's Introduction

Online Bookstore Project

The Online Bookstore project is a web application developed as part of the practical project for the System Analysis and Design course. It allows users to browse and purchase books online.

The project consists of two main components: a front-end web application for user interaction and a back-end API that handles order processing and other business logic.

Project Components

  • Frontend: A React-based web application that provides a dynamic and interactive user experience.
  • Backend: A Django-based API that manages business logic, including user authentication, order processing, and data persistence.

Prerequisites

  • Python 3.8 or higher
  • Node.js and npm

Getting Started

Follow these steps to set up and run the project locally:

  1. Backend Environment Setup:

    • Open a terminal or command prompt.
    • Navigate to the Backend folder of the project.
    • Activate the virtual environment by running the following command:
      .venv\scripts\activate
      
  2. Run the Backend Server:

    • Change directory to bookshop/bookshop.
    • Start the Django development server by running:
      python manage.py runserver
      
    • The backend server will be running on port 8000.
  3. Set up node and NPM:

    • To install Node, visit the official Node.js website and download the latest version for your operating system. Npm will also be installed as the default package manager during the installation process. Verify the installation by running the following commands in your terminal:
    node --version
    npm --version
    
  4. Run the Frontend Server:

    • Change directory to Frontend.
    • Start the development server by running:
    npm start
    
    • Once the development server runs, your default browser should automatically open and display your React app. If it doesn't, you can manually access the app by entering http://localhost:3000/ in your browser's address bar. Now you are ready to test and view the app.

Features

  • Book Browsing: Explore books sorted by various categories.
  • Detailed Book Views: Access detailed information about each book including the title, author, description, and pricing.
  • Shopping Cart: Add books to a personal shopping cart.
  • Order Processing: Complete purchases with an integrated order processing system.

Technologies Used

  • Django (Python web framework)
  • React, Redux for state management
  • SQLite (Development), PostgreSQL (Production recommended)

Maintainers

bookshop's People

Contributors

imanm02 avatar negarbsh avatar elshan22 avatar

Stargazers

 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.