Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T11:11:02.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T22:54:02.276Z (16 days 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
[![GitHub](https://img.shields.io/github/license/Adwaith-Rajesh/loafang?style=for-the-badge)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/loafang?color=light&style=for-the-badge)](https://pypi.org/project/loafang/)
[![Azure DevOps builds (branch)](https://img.shields.io/azure-devops/build/adwaithrajesh/8d11fcc8-9bf7-41cf-95af-bd240456c13e/9/master?label=azure%20pipelines&style=for-the-badge)](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": "[email protected]"
},
"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