Django API Generator Sample
Minimal Django project with Docker support - actively supported by AppSeed via Email and Discord.
Features - see video presentation
- ✅
Up-to-date Dependencies - ✅
Docker - ✅ Integrates API Generator Library for Django
👉 Step 1 - Download the code from the GH repository (using
GIT)
$ git clone https://github.com/app-generator/core-django.git
$ cd core-django👉 Step 2 - Start the APP in
Docker
$ docker-compose up --build Visit http://localhost:5085 in your browser. The app should be up & running.
👉 Download the code
$ git clone https://github.com/app-generator/core-django-api-gen.git
$ cd core-django-api-gen👉 Install modules via
VENV
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt👉 Set Up Database
$ python manage.py makemigrations
$ python manage.py migrate👉 Create SuperUser
$ python manage.py createsuperuser👉 Generate the API for
Booksmodel
$ python manage.py generate-api👉 Start the app
$ python manage.py runserverAt this point, the app runs at http://127.0.0.1:8000/ and the API is usable http://127.0.0.1:8000/api/books/
Django API Generator Sample - Minimal Django starter provided by AppSeed
