Use git to clone the project:
git clone https://github.com/Joabsonlg/django-api-template
Enter the project:
cd django-api-template
Create a virtual environment. (replace 'X' with your python version):
pythonX -m venv venv
Enter the virtual environment:
source venv/bin/activate
Add the environment variables: (create the '.env' file and add the variables)
For sending e-mails sendinblue was used
EMAIL_LOGIN=<myEmail>
EMAIL_PASSWORD=<myPassword>
SECRET_KEY=mySecretKey
Install the dependencies:
pip install -r requirements.txt
Create a superuser
python manage.py createsuperuser
Run the API
python manage.py runserver
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Joabson Arley 🚀