Code Monkey home page Code Monkey logo

dinagon's Introduction

Dinagon

Backend of Chunagon

versions

program version
Python 3.9
fastapi 0.66.0
PyJWT 2.1.0
SQLAlchemy 1.4.21
SQLAlchemy-Utils 0.37.8

how to run

  1. Install Python3.9 from here. Make sure you added Python to path.
  2. Install git and run https://github.com/nagataaaas/dinagon.git. Or simply download zip file and extract.
  3. Move to /dinagon
  4. Run pip install -r requirements.txt (or pip3 install ... on linux or mac).
  5. Add environment variables below
    MAIL_SERVER:  'smtp.example_email_server.com'
    MAIL_PORT:     465
    MAIL_ADDRESS: '[email protected]'
    MAIL_PASS:    'password@0123'
    JWT_SECRET:   'JWT_SECRET_KEY'
    
  6. Edit '/dinagon/app/config.py'
  7. move to /dinagon, and then, run python run.py (or python3 run.py as above).
  8. You can see API swagger http://{config.HOST}:{config.PORT}/docs

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.