Full-stack Python/React test.
Backend deployment steps:
- Create virtual env and activate
virtualenv env & sour env/bin/activate
- Move to backend/ folder
cd backend/
- Install requirements
pip install requirements.txt
- Make and install migrations
python manage.py makemigrations & python manage.py migrate
- Load dump initial data *
python manage.py shell < seed.py
- Create super user
python manage.py createsuperuser --email admin@admin.com --username admin
- Run project
python manage.py runserver
Frontend deployment steps:
- Move to frontend/ folder
cd frontend/
- Install dependencies
npm install
- Run project
npm start
- *dump users are created randomly, but each user will have the same password. it is 'ripio2021'.