- Django
- Django REST
- ReactJS
- Redux
- Docker
Project/
|-- backend # Django API server
|-- frontend # ReactJS Frontend
cd FakeBook
docker-compose up --build
Make sure you are using python>=3 and pip3
cd FakeBook
# Install virtualenv
python3 -m pip install --user virtualenv
python3 -m venv env
# activate the virtualenv
source env/bin/activate
# Install all python packages
pip3 install -r requirements.txt
# Verify packages are successfully installed
pip3 freeze
Make sure you have node and yarn installed, if not, refer to:
yarn install
yarn add react-scripts
For development, we need to run both frontend and backend servers
cd frontend
yarn start
cd ..
cd backend
source env/bin/activate
python manage.py migrate
python manage.py runserver