Giter Site home page Giter Site logo

weinfly / django-restfulapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aeasringnar/django-restfulapi

0.0 1.0 0.0 286 KB

基于 Django 3.x 的 RESTfulAPI 风格的项目模板,用于快速构建企业级高性能的服务端。

Home Page: http://test.shedblood.cn/django/swagger/

License: MIT License

Python 97.05% Dockerfile 0.17% Shell 2.78%

django-restfulapi's Introduction

django-RESTfulAPI

基于 django 3.X 的 RESTfulAPI 风格的项目模板,用于快速构建高性能的服务端。

技术栈

  • 框架选择:基于 django 3.X + django-rest-framework
  • 数据模型:基于 MySQLClient 存储,测试也可使用内置 sqlite3
  • 授权验证:基于 JWT
  • 内置功能:代码生成、文件处理、用户系统、异常处理、异步处理、全文检索、动态权限、接口返回格式化、日志格式化、分页、模糊查询、过滤、排序、缓存、导出、微信&支付宝支付等

快速入门

如需进一步了解,参见 django 文档

本地开发

$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py loaddata apps/user/user.json
$ python manage.py ruserver
$ open http://localhost:8000/

线上部署

bash server.sh start  # 获取帮助:bash sever.sh help 默认启动端口为 8001

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.