<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          flask-restplus-boilerplateA boilerplate for flask restful web service

          聯(lián)合創(chuàng)作 · 2023-09-21 00:14

          FLASK RESTX BOILER-PLATE WITH JWT

          Terminal commands

          Note: make sure you have pip and virtualenv installed.

          Initial installation: make install
          
          To run test: make tests
          
          To run application: make run
          
          To run all commands at once : make all
          

          Make sure to run the initial migration commands to update the database.

          > python manage.py db init
          
          > python manage.py db migrate --message 'initial database migration'
          
          > python manage.py db upgrade
          

          Viewing the app

          Open the following url on your browser to view swagger documentation
          http://127.0.0.1:5000/
          

          Using Postman

          Authorization header is in the following format:
          
          Key: Authorization
          Value: "token_generated_during_login"
          
          For testing authorization, url for getting all user requires an admin token while url for getting a single
          user by public_id requires just a regular authentication.
          

          Full description and guide

          https://medium.freecodecamp.org/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563

          Contributing

          If you want to contribute to this flask restplus boilerplate, clone the repository and just start making pull requests.

          https://github.com/cosmic-byte/flask-restplus-boilerplate.git
          
          瀏覽 16
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  三级片91久久精品欧美亚洲三级片 | 五月成人影视 | A片免费在线观看 | 无码人妻一级毛片免费 | 无码内射在线播放 |