Skip to content

cocoakekeyu/django-api-startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django api startup

Introduction

This is a simple django project for HTTP JSON API.

Main stack

  • Web Framework: Django
  • Database: PostgreSQL
  • Test: Pytest
  • Authorization: cancan PyJWT
  • Fake data: model-mommy Faker
  • Environment: python-dotenv
  • Serialization: djangorestfreamwork
  • Filter: django-filter

Getting started

  • dotenv sample: see .env.sample
  • new dotenv for multiple environments, e.g.: .env.development .env.test
  • export environments: export DJANGO_ENV=.
  • create database and user for current enviroment config
  • migrate database: ./manage.py migrate
  • run test: pytest tests

About

This is a simple django project for HTTP JSON API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages