This repository is meant to dive into Django and set up a simple application. It will have a Django server and a React front end.
I followed this simple tutorial on DigitalOcean to get Django initially setup. You can see the commands below.
- https://www.digitalocean.com/community/tutorials/build-a-to-do-application-using-django-and-react
- https://www.digitalocean.com/community/tutorials/how-to-install-django-and-set-up-a-development-environment-on-ubuntu-20-04
Initial Setup
mkdir simple-django
cd simple-django/
python3 -m venv venv
source venv/bin/activate
pip list
pip install django
django-admin --version
django-admin startproject backend .
cd backend
./manage.py startapp todo
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver localhost:8000
cd simple-django/
npx create-react-app frontend
cd frontend
npm start
npm install bootstrap
npm install reactstrap