manipulate data related to books
Front-end: react
- check the basic installation
python --version
yarn --version
npm --version
- create virtual environmnt and avtivate it
python -m venv env
env\Scripts\activate.bat
- create the requirement.txt file, and install required libraries, if needed
pip install -r requirements.txt
- start first vite project
# npm 7+, extra double-dash is needed:
npm create vite@latest my-vue-app -- --template vue
# yarn
yarn create vite my-vue-app (--template react)
# pnpm
pnpm create vite my-vue-app --template vue
# Bun
bun create vite my-vue-app --template vue
5 go to the generated directory and install the vite packages as required
cd frontend
yarn
yarn dev
the website is Local: http://localhost:5173/
Back-end: Django
- check the installatin of python,pip, install restframework
pip install django djandorestframework
Start a Django project
django-admin startproject project_name
- after the get and post action in backend, make some actions in frontend to make interaction