- Node.js
- Python 3.10+
- Django
- npm
- Git
use separate terminals for frontend/backend
-
Clone the Repository:
git clone https://github.com/your-repo-link.git cd CEN3031_GROUP4
-
Set up Virtual Environment:
python -m venv env source env/bin/activate
-
Install Backend stuff
pip install -r requirements.txt
-
Frontend Setup
cd frontend npm install
-
Backend Setup
cd backend python manage.py migrate
-
Running Servers
Backend
python manage.py runserver
Frontend
npm start
- Create new branch
git checkout -b <branch-name>
- Commit Changes
git commit -m "msg"
- Push to Github
git push origin ( use "-u" here if new branch) <branch-name)
- Submit PR
-
In the
backend
directory, run the command:python manage.py createsuperuser
Proceed to create your admin credentials
-
Once you have created your super user, navigate to:
http://127.0.0.1:8000/admin/
- Sign in using your newly created credentials
-
Now you can see the admin dashboard for Django
TO TEST THE APP
:- Navigate to
http://localhost:3000/
- Login to the application using the same
SUPERUSER
credentials you created - Now you can test the application out and monitor any changes made on the frontend directly via the
admin interface
- Navigate to