An open API service indexing awesome lists of open source software.

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.

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
```
---