https://github.com/datadavev/naane
NAAN Editor
https://github.com/datadavev/naane
Last synced: about 1 year ago
JSON representation
NAAN Editor
- Host: GitHub
- URL: https://github.com/datadavev/naane
- Owner: datadavev
- Created: 2022-09-05T11:39:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T23:42:57.000Z (over 2 years ago)
- Last Synced: 2025-02-02T09:27:22.003Z (over 1 year ago)
- Language: Python
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# naane
NAAN Editor
- [ ] FastAPI web app
- [ ] ORCID authenticate
- [ ] NAAN entry form
- [ ] NAAN create
- [ ] NAAN list by user
- [ ] NAAN edit user auth
- [ ] Validate entry
Workflow uses GitHub API to perform CRUD operations on NAAN records.
Basically:
App deployed with NAAN records. The records have commit sha as a property. App is protected by auth.
Edit
1. Get record from GH (not from local app cache)
2. Check for existing PR. If so pull record from the PR (or deny edit until PR completed)
3. Load record into form
4. Edit
5. POST to app, app either commits or makes PR
6. GH action on commit re-generates registry
Issues:
There will be significant latency between an edit and app re-deployment. Could use a database as the content store instead of file system. Or perhaps better - use live GH as the record source when editing