Skip to content

Quickly and automatically serve python classes as REST endpoints

License

Notifications You must be signed in to change notification settings

yairfrid/servit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run tests: first, start the server with uvicorn --factory --reload tests.<TEST_FILE>:server

Then, to trigger the test, run python tests/<TEST_FILE>

Known issues:

Can't use postponed annotations: fastapi/fastapi#4557

TODO:

[ * ] Convert tests to pytest

[ * ] Object store support

[ ] Write a shit load of tests and clean up code

[ ] Create a test for swagger documentation

[ ] Documentation

[ * ] Type hints

[ ] Examples:
[ ] TODO app? (Basic Crud InMemory) [ ] Math Expression calculator (With no Memory) [ ] Portfolio manager (with Mongo?)

About

Quickly and automatically serve python classes as REST endpoints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages