8000 GitHub - aqutor/CE_Backend: The API and content management service of the Calligraphy Evaluation service
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aqutor/CE_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calligraphy Evaluation Backend Service

Overview

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.

Known Issues

  • Server errors when handling invalid inputs from client.

Main Structure

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

Features

  • Using REST API to provide interactive features.
  • User-friendly overall model sets management application.

Requirements

Python >= 3.7

Dependencies

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

Usage

$ [python environment path] manage.py runserver [port]

Examples

Linux & macOS
$ python3 manage.py runserver 8000

Windows
$ python manage.py runserver 8000

Applications

The project is comprised of the following apps.

Evaluation API

Endpoint path: /api

Config:

  • Serializers: /eva/serializers.py
  • Views (ex. Standard data sets): /eva/views.py
  • Standard data sets: /eva/view_data.py

Content Management Portal

Endpoint path: /admin

Config: /eva/admin.py

Documents: The Django admin site

API Reference

API Reference at wiki.

Contribution

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.

License

The MIT License

Copyright (c) 2020 Zhou Aotian <https://io.airscr.com/>

About

The API and content management service of the Calligraphy Evaluation service

Resources

License

Stars

Watchers

Forks

Languages

0