Go Velo is an e-bike renting system developed using React-JS and Django with SQLite as the database.
- Install python version 3.10.4
- Install Node.js
- Clone/Download the repository into your local system
- Open two terminals
-
Perform the upcoming operations in the 1st terminal.
-
Install pipenv.
pip install pipenv
- Activate virtual environment.
pipenv shell
- Navigate to LC02-LB02-B_FINAL-PROJECT and install requirements.
cd lc02-lb02-b_final-project
pip install -r requirements.txt
- Navigate to BACKEND and Make your migrations.
cd backend
python manage.py makemigrations
python manage.py migrate
- Create a new superuser.
python manage.py createsuperuser
- Check if it works.
python manage.py runserver
- Go to http://localhost:8000/admin and user your superuser credentials to access the database and do all CRUD operations in UI
-
Perform the upcoming operations in the 2nd terminal.
-
Navigate to LC02-LB02-B_FINAL-PROJECT/START_PAGES.
cd lc02-lb02-b_final-project/start_pages
- Download all required dependencies.
npm i
npm i --force #if npm error is thrown
- Start the frontend.
npm start
-
The react app should open on http://localhost:3000/
-
The frontend UI is intuitive enough for the user to interact with the application.
If you run into cors error when trying to comunicate with backend install Allow CORS: Access-Control-Allow-Origin extension on chrome
Created by :
Team members |
---|
Dhruv Kumar Patwari 📐 |
Martin Nahalka 😂 |
Ayanabha Jana 😎 |
Varsha Jaikrishnan 😅 |
Veronica Bulani 💁 |
Sanju Rana ☘️ |
Tianyi Ren 🤣 |