Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanguardmaster01/react-django
CRUD operations using React + Django
https://github.com/vanguardmaster01/react-django
react react-django-application react-django-crud
Last synced: about 2 months ago
JSON representation
CRUD operations using React + Django
- Host: GitHub
- URL: https://github.com/vanguardmaster01/react-django
- Owner: vanguardmaster01
- Created: 2023-11-13T23:34:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-13T23:35:52.000Z (about 1 year ago)
- Last Synced: 2024-04-17T05:54:40.292Z (9 months ago)
- Topics: react, react-django-application, react-django-crud
- Language: Python
- Homepage:
- Size: 313 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React And Django App
CRUD Operations using React for frontend and Django for backend
## Run the Project
Clone the repository
#### Running the Django Project
> Move into server directory (django):
```
cd server
```> Create virtual environment
- On WindowsOS
```
python -m venv
```> Activate virtual environment
- On WindowsOS
- Using bash:
```
source /Scripts/activate
```- Using CMD:
```
\Scripts\activate.bat
```- Using PowerShell:
```
\Scripts\Activate.ps1
```> Install requirements
```
pip install django djangorestframework django-cors-headers
```> Run migrations:
```
python manage.py makemigrations
``````
python manage.py migrate
```> Run on port 8000:
```
python manage.py runserver
```### Running the ReactJS Project
> Move into client directory (ReactJS)
```
cd client
```> Install dependencies
```
npm install
```> Create .env file using .env.sample
> Start the project
```
npm start
```