Skip to content

app-generator/core-django-api-gen

Repository files navigation

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

✨ Start the app in Docker

👉 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.


Manual Build

👉 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 Books model

$ python manage.py generate-api

👉 Start the app

$ python manage.py runserver

At 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 - DRF Interface (open-source tool).



Django API Generator Sample - Minimal Django starter provided by AppSeed