Skip to content

DewaSRY/Revou-Final-Project

Repository files navigation

Build Status Coverage Status Codacy Badge Python Versions

Final Project BACKEND

create by : Dewa Surya Ariesta

hosting :hosting on railway

environment variable needed

  • CLOUDINARY_URL

    get the CLOUDINARY_URL from cloudinary cloudinary_dashboard

  • FLASK_DEBUG just put FLASK_DEBUG= True so the app run on development mode

run the project

  1. poetry install # install the dependency

  2. poetry run flask run or script/flask_run.bat for windows # run the app

  3. poetry run pytest -s or script/test.bat for windows # test the app

  4. poetry run pytest --cov or script/cov.bat for windows # see test coverage

  5. poetry show --tree # show all dependency use on this app

Api document appearance

image

image_rapidoc

folder structure

app
   |-- __init__.py
   |-- database_connector
   |-- datetime_service
   |-- final_project_api        # the app logic get mapped
   |   |-- business_module
   |   |-- product_module
   |   |-- user_module
   |   |-- conftest.py
   |   |-- main.py
   |-- image_upload_service
   |-- jwt_service
   |-- message_service
   |-- model_base_service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages