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 applicationapp/scheduler.py
: Rocketry applicationapp/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
What next?
Read more about Rocketry:
- Documentation: https://rocketry.readthedocs.io/
- Source code: https://github.com/Miksus/rocketry
Read more about FastAPI:
- Documentation: https://fastapi.tiangolo.com/
- Source code: https://github.com/tiangolo/fastapi
Read more about React:
- Documentation: https://reactjs.org/
- Source code: https://github.com/facebook/react
Author: Mikael Koli
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
subsystems-0.0.0-py3-none-any.whl
(461.9 kB
view hashes)
Close
Hashes for subsystems-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c48dbf59b48b45ad77990ecff9b28b07f3b1cbe26a1bae2cdda2b5174e1834d8 |
|
MD5 | 77ca684823402868aa82177014a55cb4 |
|
BLAKE2b-256 | b771e37f922fc95933d0df6dc636b8598b65c1a453ea382676d5e42a993c9c83 |