8000 GitHub - molxno/bookstore
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

molxno/bookstore

Repository files navigation

Bookstore - Django Application

Description

Bookstore is a web-based application built with Django for managing and selling books online. It provides users with an easy interface to browse, search, and purchase books. Admin users can manage the book inventory, process orders, and handle customer inquiries.

Features

  • Browse books by categories, authors, or search keywords.
  • View detailed information for each book, including description, price, and availability.
  • User authentication system (login, registration, password reset).
  • Shopping cart and checkout process.
  • Order history and management for users.
  • Admin interface for managing books, orders, and customers.
  • Integration with payment gateway (Stripe).

Screenshots

(Optional: Add screenshots of key pages like the book listing, book details, shopping cart, checkout page, etc.)

Tech Stack

  • Backend: Django (Python)
  • Frontend: HTML, CSS, JavaScript (or any frontend framework like React, if applicable)
  • Database: SQLite (or PostgreSQL, MySQL, etc., depending on your configuration)
  • Authentication: Django's built-in authentication system
  • Payment Integration: (Stripe)
  • Deployment: (AWS)

Installation and Setup

Prerequisites

  • Python 3.x
  • Django 4.x
  • Virtual environment (optional but recommended)

Steps to Run Locally

  1. Clone the repository:
    git clone https://github.com/yourusername/bookstore.git
    cd bookstore
    
    
  2. Create and activate a virtual environment:
    python -m venv envsource env/bin/activate # On Windows use: env\\Scripts\\activate
    
  3. Install the dependencies:
    pip install -r requirements.txt
    
  4. Apply the database migrations:
    python manage.py migrate
    
  5. Create a superuser:
    python manage.py createsuperuser
    
  6. Run the development server:
    python manage.py runserver
    
  7. Access the application: Open your browser and go to http://127.0.0.1:8000/

Usage

  1. Register a new user or log in using existing credentials.

  2. Browse through available books and add them to the shopping cart.

  3. Proceed to checkout to place an order.

  4. Admin users can log in to the admin panel (/admin) to manage inventory, orders, and customers.

Admin Panel

To access the Django admin panel, go to http://127.0.0.1:8000/admin/ and log in with the superuser credentials.

Deployment

(Provide details if you've deployed the app, such as the platform used and instructions for setting up environment variables, databases, and static files)

Contributing

If you want to contribute to this project:

  1. Fork the repository.

  2. Create a new branch (git checkout -b feature/your-feature-name).

  3. Commit your changes (git commit -m 'Add new feature').

  4. Push to the branch (git push origin feature/your-feature-name).

  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or feedback, feel free to reach out:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0