Frontend: React.JS
Backend: Python Django
Framework: https://www.django-rest-framework.org/
Design: Figma https://www.figma.com/file/MwBMWKmREYUG3DNRwUHaaP/CSCI3100_project?node-id=0%3A1
SCRUM, Sprint Structure (Agile Software Development)
https://searchsoftwarequality.techtarget.com/definition/Scrum-sprint
https://www.scnsoft.com/blog/software-development-models#Scrum
https://docs.google.com/document/d/1I2MnXVgWsSJvWj0sM4RzHOcH3UH_gpJIyJ3-lNy49vw/edit?usp=sharing
email:
password:
-
Install Node.js: https://nodejs.org/en/download/
-
Open the command terminal, and test whether the npm command works:
npm --version -
Go to the
/main/frontend/directory, and run the below commands:
> npm i react-script --save
> npm install axios --save
> npm start
-
Install the MySQL database server and MySQL Command Line Client: Installation Guide
-
Create the MySQL root user with the below credentials: (or, modify the database credentials details in the
/backend/backend/settings.py)
username: root
password: 123456Aa
-
Ensure the MySQL server is running (on Windows, open the admin CMD console and run
net start mysql80) -
Open and log in to the MySQL Command Line Client
-
Create the cucrowd database:
CREATE DATABASE cucrowd;
-
Install Python version 3.9 or above: https://www.python.org/downloads/
-
Open the command terminal and test whether the python command works:
python --version -
Go to the
/main/backend/directory, and run the below commands
> python install -r requirements.txt
> python manage.py migrate
-
Ensure the MySQL server is running at localhost:3306
-
Open a command terminal, go to the
/main/frontend/directory and runnpm start -
Open another command terminal, go to the
/main/backend/directory and runpython manage.py runserver
-
Open the command terminal and go to the
/main/backend/directory -
Run the below commands and type in the credentials for new superuser:
> python manage.py createsuperuser
Username: <username for superuser>
Email: <email for superuser>
Password: <password>
Password (again): <password>
Superuser created successfully.
- Run the below commands to start the backend API and admin server:
> python manage.py runserver
- Open
http://localhost:8000/admin/in a new browser tab to access the admin site