CRAG666 / make-flask-api

Cli to create rest api structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make-flask-api

Cli to create rest api structure

Note:

  • This project use Poetry as packaging and dependency management
  • This project was created to work with blueprints, Pluggable Views, marshmallow and sqlalchemy(Read pleace)
  • It provides a standard method to be implemented with url rule, this method allows to perform the operations based on a CRUD
  • Install nerdfonts

Install

  1. clone repositoy
  2. access the folder
  3. execute this command "sudo cp mfa /usr/local/bin"

Options

flags
-n [name] Create new project
-i Init in the current folder
-d Create new docker file for devcontainer plugin of vscode
-p Install dependency with poetry

Examples

  • mfa -n app //creates a new project named app
  • mfa -i //initialize the project in the current folder
  • mfa -p //Install dependency
  • mfa -id //initialize and create docker file
  • mfa -pd //iInstall dependency and create docker file
  • mfa -n app -d // new project and create docker file
  • mfa -n app -p // new project and Install dependency

Important

If you have ideas for improvements you are free to make suggestions or do it yourself, all contributions are welcome

About

Cli to create rest api structure

License:MIT License


Languages

Language:Shell 100.0%