Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhildred/info8985_microfrontend_analysis
https://github.com/rhildred/info8985_microfrontend_analysis
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rhildred/info8985_microfrontend_analysis
- Owner: rhildred
- Created: 2024-11-20T16:22:00.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-20T17:54:36.000Z (about 2 months ago)
- Last Synced: 2024-11-20T18:45:15.548Z (about 2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Paypal Standard demo Microfrontend
### fastapi and vanilla javascript for custom elementTLDR;
1. Sign up for a paypal developer account
2. Create a sandbox app and get your client id and client secret
3. Put client id and client secret in a .env file in the same folder as the README.md file```
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
```When you have the .env file correct, you can start the app and surf to the provided url and see the markdown file with the code in it.
```bash
pip install -r requirements.txt
fastapi dev app.py
```You can see microfrontend docs by adding markdown files and refering to them in the `index.html`. You can see api docs by surfing to `/docs`. This is my response to Martin Fowler's [excellent article about micro frontends](https://martinfowler.com/articles/micro-frontends.html). You will notice that this article is from 2019. Unfortunately the promise of microfrontends and continuous delivery by autonomous teams still seems a little underdeveloped. I would like to develop it a little more!