https://github.com/adwaith-rajesh/loafang
A JSON-based RESTapi Query Language.
https://github.com/adwaith-rajesh/loafang
api graphql python3 rest rest-api
Last synced: about 1 year ago
JSON representation
A JSON-based RESTapi Query Language.
- Host: GitHub
- URL: https://github.com/adwaith-rajesh/loafang
- Owner: Adwaith-Rajesh
- License: mit
- Created: 2021-11-14T04:54:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T11:11:02.000Z (over 4 years ago)
- Last Synced: 2025-03-24T14:40:19.761Z (about 1 year ago)
- Topics: api, graphql, python3, rest, rest-api
- Language: Python
- Homepage: https://adwaith-rajesh.github.io/loafang/
- Size: 607 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Loafang
[](LICENSE)
[](https://pypi.org/project/loafang/)
[](https://dev.azure.com/adwaithrajesh/adwaith/_build?definitionId=9)
A JSON based RESTapi Query Language. It's mainly for small to intermediate sized project.
## Motivation
- I'm bored.
- I needed a smaller version of graphql.
- It's fun to do something like this
## Why name it Loafang
If you google the synonyms for 'rest' one of the result is 'loaf' or 'loafing'. Now, where do you see the word 'rest', 'REST API' and it's more of a language kind of thing so
'loafang' makes sense
## An example Schema
```json
{
"GET:get-user:pe": {
"user --name adwaith --age 10": ["username", "email_address"]
},
"PUT:up-user": {
"user --name some-user": {
"email": "new_email@address.com"
},
"after": "get-user"
}
}
```
For more docs visit: [https://adwaith-rajesh.github.io/loafang/](https://adwaith-rajesh.github.io/loafang/)
## Road Map
- [x] Things kind of works
- [x] Make an easier API for the user to use.
- [ ] More tests