Crudcast lets you build a fully functioning and OpenAPI-compliant CRUD API with a few lines of YAML code. It lets you create a fully-functional web app backend for prototyping purposes
Crudcast requires mongodb - install and start as follows:
brew install mongodb
brew service start mongodb
Install crudcast
pip install crudcast
Create a config file, config.yml
, in the same folder
models:
person:
fields:
first_name:
required: true
last_name:
required: true
age:
type: number
CD into the folder containing your config.yml
, and run this command
crudcast
Go to http://localhost:5000/api/docs
to see your documented and fully-functional API
Coming soon.
Crudcast is brand new and only has a small percentage of the intended functionality so far. In future, I am planning to add support for:
- user management and authentication (basic, token-based and social)
- permissions
- inserting your own code - either for validation, permissions or creating your own methods
If there is any other functionality you'd like to see added, then please raise an issue