https://github.com/diaga/mars-server
Django Server for MARS project.
https://github.com/diaga/mars-server
Last synced: 8 months ago
JSON representation
Django Server for MARS project.
- Host: GitHub
- URL: https://github.com/diaga/mars-server
- Owner: Diaga
- License: mit
- Created: 2019-12-07T17:02:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T12:44:43.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T13:34:32.186Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-api-template
[](https://travis-ci.com/Diaga/django-api-template)
Template for creating robust APIs with django rest framework!
This template contains configured Dockerfile, docker-compose and .travis.yml files.
## Project Structure
All models are placed in models.py file in 'app' folder along with unit tests.
All unit tests are placed in the 'tests' folder inside each app.
Each section of the API is allotted its own app inside django.
## Setup
Update requirements.txt file with latest versions of libraries.
Set suitable user & password for database in docker-compose file.
## Commands
* Start new app:
```shell script
python manage.py template_startapp
```
* Run unit tests:
```shell script
python manage.py test && flake8
```
## ToDo
Add commands to easily create customized user