Calligraphy Evaluation Backend Service, aka CE_Backend, is the API and content management service of Calligraphy Evaluation service. Using django auth system to handle user accounts, groups, permissions and cookie-based user sessions. In case of API systems, token-based authentication is used.
- Server errors when handling invalid inputs from client.
Web service framework: Django
Database: SQLite
Propagate changes made to the models (adding a field, deleting a model, etc.) into the database schema.
[python path] manage.py makemigrations
- Using REST API to provide interactive features.
- User-friendly overall model sets management application.
Python >= 3.7
All dependencies should be pre-installed in running environment.
A higher version of the package will still work in theory, but it's not been tests.
Package | Recommended Version |
---|---|
Django | 3.0.3 |
django-admin | 2.0.0 |
django-excel-response2 | 2.0.8 |
djangorestframework | 3.11.0 |
$ [python environment path] manage.py runserver [port]
Examples
Linux & macOS
$ python3 manage.py runserver 8000
Windows
$ python manage.py runserver 8000
The project is comprised of the following apps.
Endpoint path: /api
Config:
- Serializers:
/eva/serializers.py
- Views (ex. Standard data sets):
/eva/views.py
- Standard data sets:
/eva/view_data.py
Endpoint path: /admin
Config: /eva/admin.py
Documents: The Django admin site
Please use issues on Github.com properly. To resolve every issue, you should include all details that would possibly affect the result of the product. It's an awesome practice if you use the template provided on the issues page and fill out all necessary sections.
Copyright (c) 2020 Zhou Aotian <https://io.airscr.com/>