Skip to content

Nandagopalvs25/BookStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookStore web application

An ecommerce platform to buy and sell books. Watch the demo of the project at [https://youtu.be/XWo0PKRS6GU]

Features 

-User Authentication [login, register]

-View and Search Books

-Cart Management

-Order creation

-Create,Edit,Delete Book Listings

JWT Authentication using SimpleJWT package

Documentation made using Swagger docs

Frontend made with React, React-Bootstrap, and Vite.

Project setup

Pre requisites:

  1. Create a folder and clone the repo
 git clone https://github.com/Nandagopalvs25/BookStore
  1. Install Virtual env to create a python virtual environment
   cd Bookstore
   pip install virtualenv
   python<version> -m venv <virtual-environment-name>
   env/Scripts/activate.bat //Activate virtual env In CMD
   env/Scripts/Activate.ps1 //Activate virtual env In Powershel
  1. Install dependencies for the api
    pip install -r requirements.txt
  1. Create a new PostgreSQL database using createdb or the pgAdmin tool
createdb --username=postgres <db_name>
  1. Create a .env file in the backend dir and set the enviornment variables for the database
 DB_NAME=
 DB_USER=
 DB_PWD=
 DB_HOST=
 DB_PORT=
  1. Apply migrations
python manage.py migrate
  1. Run the server using
python manage.py runserver

The api should be up and runnning

  1. Cd into the frontend dir and run
npm install
npm run dev

Click on the link to view the website in the browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published