Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motivation and goals? #1

Open
ariebovenberg opened this issue Dec 2, 2021 · 1 comment
Open

Motivation and goals? #1

ariebovenberg opened this issue Dec 2, 2021 · 1 comment

Comments

@ariebovenberg
Copy link

👋 Hi there again!

@sobolevn what are your thoughts with this library? What are the (non)goals and motivation?

So far I can see 'framework-less'. I'm also assuming it'd be according to FP principles (immutability, composability, purity)? Something like Scala's http4s? Is there something specific about REST vs generic HTTP APIs that you want to focus on? What do you see in current web frameworks that you don't like?

I could imagine the library would be centered around composing Request -> Response pipelines. This requires composable, functional blocks for:

  • routing
  • parsing/validation
  • encoding/decoding (e.g. JSON)
  • testing
  • 'middleware'
  • plugging into existing frameworks (so you can start using rests in your current flask/django/(a)wsgi/etc project immediately)
  • dealing with DBs in a pure way
@sobolevn
Copy link
Member

sobolevn commented Dec 3, 2021

Hi!

I don't have a well-defined concept for now. But, I am going to return to this projects once I finish validation package 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants