https://github.com/devmahmud/django-react-dashboard
https://github.com/devmahmud/django-react-dashboard
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devmahmud/django-react-dashboard
- Owner: devmahmud
- Created: 2021-05-31T16:19:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T19:59:31.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T16:49:26.415Z (11 months ago)
- Language: JavaScript
- Size: 720 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Django React Dashboard
A Dashboard application using React, Django, Django Rest Framework and Ant Design
## Frontend( React )
#### To install dependency
```
yarn install
```
#### To start the server
```
yarn start
```
#### For Production Build
```
yarn build
```
## Backend( Django )
#### Installing
#### Requirements
First create a virtual environment and activate it.
```
pip install -r requirements.txt
```
Input database connection string inside .env file
To migrate the database
```
python manage.py makemigrations
python manage.py migrate
```
To Create a SuperUser
```
python manage.py createsuperuser
```
To run the program in local server use the following command
```
python manage.py runserver
```
Server will be available at `http://127.0.0.1:8000` in your browser
Api documentation will be available at `http://127.0.0.1:8000/docs`
Admin login will be available at `http://127.0.0.1:8000/admin`