Giter Club home page Giter Club logo

book-store's Introduction

BookStore

A Fullstack web app using Python Django + React JS. Created to learn the full implementation of django and react to crate a Fullstack web app.

Stack

Programming languange :

  • Python
  • Javascript

Library & Framework :

  • Django
  • ReactJS
  • ChakraUI
  • Tailwind CSS

Installation

Clone this repository using

  git clone https://github.com/azureeeeeeeeeeee/book-store.git

Backend Setup

Go to the backend folder from root folder using

cd book_api

Create a virtual environment using

virtualenv env

Activate the virtual env (git bash) using

cd env
source Scripts/activate

Go back to root backend folder using

cd ..

Install all dependencies using

pip install -r requirements.txt

Migrate the database (SQLite) using

python manage.py makemigrations
python manage.py migrate

Create super user to access database using

python manage.py createsuperuser

Run the Django Server using

python manage.py runserver

Frontend Setup

Go to the frontend folder from root folder using

cd book-frontend

install all dependencies using

npm i

Run the frontend using

npm run dev

Usage

To access the web, go to

localhost:3000

To access the backend (database & routes), go to

127.0.0.1:8000/admin/
127.0.0.1:8000/api/

To access the database, use super user.

Future Improvement

  • Adding Search Feature
  • Create a protected route
  • Improving frontend design
  • Cleaning the backend code
  • Adding Google OAuth Authorization
  • Create a constraint for a certain user profile's role
  • Fixing the mock transaction system to be able to handle more than 1 transaction

book-store's People

Contributors

azureeeeeeeeeeee avatar

Watchers

 avatar  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.