Skip to main content

Assembler for Pythonic back-end and Javascript front-end

Project description

Subsystems

This is a demo for creating a scheduler with an API. We use Rocketry for our scheduler and FastAPI for our API.

This contains three source files:

  • app/api.py: FastAPI application
  • app/scheduler.py: Rocketry application
  • app/main.py: Main launch script

Add your tasks need to app/scheduler/tasks/ and modify API routes in app/api/routes/ as needed.

Installation

Clone this repository:

git clone https://github.com/Miksus/rocketry-with-fastapi.git

Make sure you have Python 3.7 or newer. Then just install the dependencies:

pip install -r requirements.txt

Running

python -m app

Front-end

For the front-end, download Node, npm and yarn. Then change to frontend directory to install the Node modules:

yarn install

Then start the server:

yarn start

UI example

What next?

Read more about Rocketry:

Read more about FastAPI:

Read more about React:

Author: Mikael Koli

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

subsystems-0.0.0.tar.gz (451.5 kB view hashes)

Uploaded Source

Built Distribution

subsystems-0.0.0-py3-none-any.whl (461.9 kB view hashes)

Uploaded Python 3

Supported by

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