We welcome contributions to Notes! This document provides guidelines for contributing to both the Django REST Framework backend and React frontend.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/notes.git
- Create a new branch:
git checkout -b your-branch-name
- Navigate to the backend directory:
cd notes_backend
- Create a virtual environment:
pipenv install
- Apply migrations:
python manage.py migrate
- Config .env variables
cp .env.example .env
- Start the development server:
python manage.py runserver
- Follow PEP 8 guidelines
- Use meaningful variable and function names
- Write docstrings for functions and classes
- Code formatting with Ruff
- Navigate to the frontend directory:
cd notes_frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Use functional components and hooks
- Use meaningful component and variable names
- Make your changes in your feature branch
- Write or update tests as needed
- Ensure all tests pass
- Commit your changes with a clear commit message
Comming soon if I have access to server