A simple and efficient notes application built with React for the frontend and Django for the backend. This project serves as a great example of combining modern frontend technologies with a robust backend framework.
- Python 3.9
- Node.js
- React
- Simple and intuitive note-taking functionality.
- Built with a modern tech stack: Django REST API and React.
- Dockerized for easy setup and deployment.
git clone https://github.com/LondheShubham153/django-notes-app.git
cd django-notes-app
Using Docker, build the application image:
docker build -t notes-app .
Run the Docker container:
docker run -d -p 8000:8000 notes-app:latest
The app will be available at http://localhost:8000
.
To make the application available publicly, set up an Nginx reverse proxy:
-
Update your package manager and install Nginx:
sudo apt-get update sudo apt install nginx
-
Configure Nginx:
Create a configuration file for the notes app:sudo nano /etc/nginx/sites-available/notes-app
Add the following configuration:
server { listen 80; server_name your-domain.com; location / { proxy_pass http://localhost:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }
-
Enable the Configuration and Restart Nginx:
sudo ln -s /etc/nginx/sites-available/notes-app /etc/nginx/sites-enabled/ sudo nginx -t sudo systemctl restart nginx
Now your app is accessible via http://your-domain.com
.
Contributions are welcome! Feel free to fork the repository and submit pull requests.
This project is open-source and available under the MIT License.
Let me know if you'd like any changes or additional sections !