https://github.com/bmwant/mappi
Generate webserver from yaml file
https://github.com/bmwant/mappi
dev-server fastapi nocode python starlette static-serve webserver yaml
Last synced: 2 months ago
JSON representation
Generate webserver from yaml file
- Host: GitHub
- URL: https://github.com/bmwant/mappi
- Owner: bmwant
- Created: 2022-11-15T17:42:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T10:59:33.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T16:04:27.998Z (almost 2 years ago)
- Topics: dev-server, fastapi, nocode, python, starlette, static-serve, webserver, yaml
- Language: Python
- Homepage:
- Size: 173 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# mappi

[](https://pypi.org/project/mappi/)

[](https://github.com/pre-commit/pre-commit)
[](https://github.com/charliermarsh/ruff)
[](https://github.com/psf/black)
[](https://editorconfig.org/)
[](https://github.com/semantic-release/semantic-release)
### Installation
```bash
$ pip install mappi
$ mappi # run server with example configuration
```
### Usage
```bash
# generate minimal config file
$ mappi config > mappi.yml
# adjust routes as needed or create your own config
$ vim mappi.yml
# dump configuration with all the options available to a file
$ mappi config --full > mappi.yml
# start your webserver
$ mappi
# start server with configuration stored in different filename
$ mappi --config my-config-file.yml
```
### Contributing
See [DEVELOP.md](https://github.com/bmwant/mappi/blob/main/DEVELOP.md) for the development setup and contributing guide.