Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 802 Bytes

File metadata and controls

33 lines (27 loc) · 802 Bytes

django-react-authentication

Django-react authentication made possible with django-rest framework and simplejwt.

Built with react & Django

Build Setup

# Clone the repository
cd backend
# Create & and activate a virtual environment
eg virtualenv venv && source/venv/activate
# Install requirements
pip install -r requirements.txt
# Run migrations & Run server
python manage.py migrate && python manage.py runserver
# Open a new terminal prompt and go back to the root folder
cd ..
# Navigate to frontend folder
cd frontend
# Install dependancies and start the client
npm install && npm start
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report

📝 License

This project is free to use