https://github.com/let-robots-reign/fastapi-scaffolder
https://github.com/let-robots-reign/fastapi-scaffolder
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/let-robots-reign/fastapi-scaffolder
- Owner: let-robots-reign
- Created: 2023-02-08T17:50:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T14:26:29.000Z (over 2 years ago)
- Last Synced: 2025-03-02T21:15:31.076Z (8 months ago)
- Language: Python
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastapi-scaffolder
1. Prerequisites: Python, Node.js and Vue.js should be installed
2. Create OpenAPI YML file
3. Run the backend generator:
```
$ cd backend_generator
$ poetry install
$ poetry run python -m fastapi_scaffolder -i example.yml -o testapp
```
3. Run the frontend generator:
```
$ cd ../frontend_generator
$ chmod +x cli.js
$ ./cli.js
```
4. Launch the Vue app:
```
$ cd ../vue_app
$ npm run dev
```