https://github.com/praptisharma28/todo_djangoreact
A dockerised website made to learn how to integrate React and Django.
https://github.com/praptisharma28/todo_djangoreact
api css3 django django-rest-framework docker html5 postgresql react
Last synced: about 1 year ago
JSON representation
A dockerised website made to learn how to integrate React and Django.
- Host: GitHub
- URL: https://github.com/praptisharma28/todo_djangoreact
- Owner: praptisharma28
- Created: 2024-01-01T17:23:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T07:27:54.000Z (over 2 years ago)
- Last Synced: 2025-03-24T18:12:14.512Z (over 1 year ago)
- Topics: api, css3, django, django-rest-framework, docker, html5, postgresql, react
- Language: Python
- Homepage:
- Size: 728 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django & React Notes App
## Cloning the Repository
Clone the repository using the command below:
```bash
git clone https://github.com/praptisharma28/TODO_DjangoReact
```
Move into the directory where we have the project files:
```bash
cd TODO_DjangoReact\Django-React-NotesApp>
```
Create a virtual environment:
- If you are on Windows:
```bash
virtualenv env
```
- If you are on Linux or Mac:
```bash
python -m venv env
```
Activate the virtual environment:
- If you are on Windows:
```bash
.\env\Scripts\activate
```
- If you are on Linux or Mac:
```bash
source env/bin/activate
```
## Running the App
To run the Notes App, use the following command:
```bash
python manage.py runserver
```
⚠ Then, the development server will be started at http://127.0.0.1:8000/
## Instruction for running with docker
create a .env file based up on the .env.example
```bash
docker volume create staticfiles
```
```bash
docker compose up
```
---