https://github.com/jamilur-r/django_react_starter_kit
Django react starter kit a django app configured to work with react as front end. The app uses parcel.js to compile react. This is base starter so you don't have to configure react to work with django.
https://github.com/jamilur-r/django_react_starter_kit
django django-react django-react-integration django-rest-framework django-spa
Last synced: about 1 month ago
JSON representation
Django react starter kit a django app configured to work with react as front end. The app uses parcel.js to compile react. This is base starter so you don't have to configure react to work with django.
- Host: GitHub
- URL: https://github.com/jamilur-r/django_react_starter_kit
- Owner: jamilur-r
- Created: 2020-11-15T17:05:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T17:09:45.000Z (over 5 years ago)
- Last Synced: 2025-04-03T22:29:40.313Z (about 1 year ago)
- Topics: django, django-react, django-react-integration, django-rest-framework, django-spa
- Language: JavaScript
- Homepage:
- Size: 670 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Django React Starter Kit
Django react starter kit a django app configured to work with react as front end. The app uses parcel.js to compile react. This is base starter so you don't have to configure react to work with django.
The djnago app exposes a rest api to communicate with react frontend.
## Running the app
1. create a virtual environment with what ever you prefeer.
2. install requirements with
```bash
pip install requirements.txt
```
3. cd into front and install js dependencies
```bash
cd front
yarn install
or
npm install
```
```bash
npm run develop
```
to watch on changes in react
```bash
npm run build
```
to make a production build
```bash
python manage.py runserver
```
on root directory to run django