Work in Progress....
Backend deploy (django-vercel / postgres-supabase):
https://asd-management-django.vercel.app/
Frontend deploy (react-netlify):
https://asd-management.netlify.app/
Follow these steps to set up and run the project locally.
Clone the repository to your local machine using Git:
git clone https://github.com/aleattene/asd-management-webapp-responsive-backend-django.git
cd asd-management-webapp-responsive-backend-django
It's recommended to use a virtual environment to manage project dependencies.
Using venv
:
python3.11 -m venv asd_venv
On Unix or macOS:
source asd_venv/bin/activate
On Windows:
asd_venv\Scripts\activate
Install the required Python packages using pip
:
pip install --upgrade pip
pip install -r requirements.txt
The project uses environment variables to manage sensitive information and configuration settings. Follow these steps to set up your environment variables.
In the root directory of the project, create a file named .env
Open the .env`` file in your preferred text editor and add the following variables:
SECRET_KEY=
DEBUG=
ALLOWED_HOSTS=
Once the setup is complete, you can run the Django development server.
Ensure all database migrations are applied:
python manage.py migrate
To access the Django admin interface, create a superuser:
python manage.py createsuperuser
Follow the prompts to set up your superuser account.
Start the Django development server:
python manage.py runserver
Access the application by navigating to http://localhost:8000/
in your web browser.
The project uses Django's built-in testing framework along with coverage.py to measure test coverage.
Execute the tests and generate a coverage report:
coverage run manage.py test && coverage report --show-missing
Contributions are welcome! Please follow these steps:
Click the "Fork" button on the top-right corner of the repository page.
git clone https://github.com/aleattene/asd-management-webapp-responsive-backend-django.git
git checkout -b feature/your-feature-name
git commit -m "Add a meaningful commit message"
git push origin feature/your-feature-name
Go to the original repository and create a pull request from your fork (from the feature/your-feature-name
branch
to the main
branch).
This project is licensed under the MIT License.