Skip to main content

A full stack web app creator with FastAPI

Project description

Fastidius

Fastidius is a CLI tool for creating FastAPI backends, with integrations for deploying to DigitalOcean via Github Actions.

Installation

pip install fastidius

Usage

To initialize a new project, run

fastidius create

This will take you through a few setup instructions, then you'll have a fully fledged FastAPI application ready to go.

Deploying the API on DigitalOcean

Fastidius's real strength lies in it's quick deploy capability for DigitalOcean.

It's currently set up to use Ubunutu droplets. Once you've spin up a brand new droplet on your DigitalOcean account, run this command

export IP_ADDRESS=<Your droplet's IP>
fastidius initialize-server

This will generate another command for running the initializer – this will set up firewalls, add a non-root user (ubuntu), set up docker, and a few other configurations.

Next, we configure caddy server.

fastidius configure-caddy

Caddy is an awesome replacement for Nginx or Traefik, with SSL out of the box and minimal boilerplate. Fastidius will use the above command to set up a new docker container that will manage caddy.

After you've set up your Caddyfile, you can deploy it using

fastidius deploy-caddy

Next, we want to set up the secrets on Github. This will create a CI/CD pipeline automatically.

fastidius github-setup

Once this is all done, pushing to the main branch on github will deploy your API 😏

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastidius-0.0.15.tar.gz (122.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastidius-0.0.15-py3-none-any.whl (136.9 kB view details)

Uploaded Python 3

File details

Details for the file fastidius-0.0.15.tar.gz.

File metadata

  • Download URL: fastidius-0.0.15.tar.gz
  • Upload date:
  • Size: 122.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for fastidius-0.0.15.tar.gz
Algorithm Hash digest
SHA256 18836af8c242e8e225af9aebe5f9f9d37189bbb0abb10adc03d6cc4841e5740a
MD5 7fc14b34bf4a446d56e362787336d035
BLAKE2b-256 a046d9c4c3397f42564cf24e41fed57e57ef0146aa76b1fba363a2376ff464dc

See more details on using hashes here.

File details

Details for the file fastidius-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: fastidius-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 136.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for fastidius-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6e47adc60c76c16428f981c9fd377fc5a6b0df4f90f41483700ae6997c9183
MD5 b62c666b7af61f63867a5cd89d60e05f
BLAKE2b-256 1c5f179c32f4360329e116aa93229788917f23b149c0429b60e69db02448a82a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page