Using the best tools and settings to save your time.
To start a new project, only clone this repository and create your favorite database, then start your code.
To use this project, you'll need Pipenv and Python 3.7 (I recommend use Pyenv to manager Python versions)
To start a new project go to a folder and follow this.
$ git clone https://github.com/silasvasconcelos/django-base-project.git project-name
$ pyenv install 3.7 # install python 3.7
$ pipenv install --dev # create a virtualenv and install dependencies including dev
$ cp .env.example .env # copy settings from .env.example to .env
$ pipenv run python manage.py migrate # create database and run migrations
$ pipenv run python manage.py createsuperuser # create a admin user
$ pipenv run python manage.py runserver # start dev server
- Django 2.2 - The web framework used
- Pip (Through pipenv) - Dependency Management
- Pyenv - Python version Management
- Django REST Framework - Used to create web api
- DRF Generators - Used to generate DRF code (serializers, views, urls and more)
- Django cors headers - App that adds Cross-Origin Resource Sharing (CORS) headers to responses.
This project is licensed under the MIT License - see the LICENSE.md file for details