Skip to content

Commit c802737

Browse files
committed
001
1 parent afb2db9 commit c802737

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

readme.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Django React Starter Kit
2+
3+
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.
4+
5+
The djnago app exposes a rest api to communicate with react frontend.
6+
7+
8+
## Running the app
9+
1. create a virtual environment with what ever you prefeer.
10+
2. install requirements with
11+
12+
13+
```bash
14+
pip install requirements.txt
15+
```
16+
17+
3. cd into front and install js dependencies
18+
```bash
19+
cd front
20+
21+
yarn install
22+
23+
or
24+
25+
npm install
26+
```
27+
28+
```bash
29+
npm run develop
30+
```
31+
to watch on changes in react
32+
33+
```bash
34+
npm run build
35+
```
36+
to make a production build
37+
38+
39+
```bash
40+
python manage.py runserver
41+
```
42+
43+
on root directory to run django

0 commit comments

Comments
 (0)