Git Product home page Git Product logo

ce_backend's Introduction

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/>

ce_backend's People

Contributors

aqutor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.