Skip to content

civilcoder55/django-rest-framework-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest API

Demo

django-rest-framework Employees management simple API

in this project

  • wrote test suites for endpoints
  • wrote simple doc string for classes and functions
  • followed Style Guide using flake8 tool
  • generated swagger-ui docs
  • dockerized app and database with docker-compose

Getting started

To start project, run:

docker-compose up

To create superuser to test, run:

docker-compose run --rm app sh -c "python manage.py createsuperuser"

To run tests, run:

docker-compose run --rm app sh -c "python manage.py test && flake8"

The API will then be available at http://127.0.0.1:8000.

About

simple api built with django rest framework

Resources

Stars

Watchers

Forks