This is a Book E-commerce Project that utilizes Django and Django Rest Framework for the backend API, and React for the frontend.
The project includes features such as viewing a list of books, searching for books by title or author, sorting books by different categorizing books.
- Python 3.11.4
- Node.js and npm
- Clone the repository
git Clone https://github.com/yashladekar/book-store-django-and-react.git
- Change to the project directory
cd bookstore
- Install backend Python dependencies
pip install -r requirements.txt
- Migrate the database
python manage.py migrate
- Install frontend dependencies
cd ..
cd reactapp
npm install
- Start frontend
npm start
- start backend
cd ..
cd bookstore
python manage.py runserver
The Django API will be running at http://localhost:8000/ and the React application will be running at http://localhost:3000/
- Book List: View a list of available books.
- Search: Search for books by title or author.
- Categories: View books by different categories.
Please read CONTRIBUTING.md
for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md
file for details.