You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i want to contribute more about this amazing project so here is my thought.
API Documentation
We should provide API Documentation using Swagger by default with zero or less configuration as possible
Serverpod migration tool
we should add a possibility to create a model from cli i'm explaining when we create our model from serverpod cli it should automatically create a model into the server project with couple of attributes that you specify from your terminal.
serverpod g model Hero name:String? age:int
it gonna generate a model in the server project like this
class: Hero
table: hero
fields:
name: String?
age: int
And with endpoint file hero_endpoint if necessary and apply automatically the migration after generating the model.
Possibility to revoke a migration
We should provide a cli command to revoke a last migration(by default) you did or revoke a specific migration.
for specific migration
serverpod d or destroy migration -v 'id of migration'
or last migration
serverpod d or destroy migration
Possibility to scaffold add crud operation in just single of command
We should keep the programmer happiness and improve our speed of development by adding some goodies to our developpers.
To scaffold a blog post without ui we should give something like this to our developper :
serverpod generate or g(for short) scaffold Blog title:String? content:String?
It going to generate model like this
class: Blog
table: blog
fields:
title: String?
content: String?
and into endpoint folder inside the blog_endpoint file we should have something like this :
And automatically add into API Documenetation which is swagger.
Possibility to provide an administration interface by default
We should provide a web interface for administration for someone who want to try to execute his model in add panel for example like Django admin panel. The developer should import his model in our admin model and that's he added this specific model into admin panel.
Suggestion
for starting server let use serverpod serve
The text was updated successfully, but these errors were encountered:
Hello, i want to contribute more about this amazing project so here is my thought.
API Documentation
We should provide API Documentation using Swagger by default with zero or less configuration as possible
Serverpod migration tool
we should add a possibility to create a model from cli i'm explaining when we create our model from serverpod cli it should automatically create a model into the server project with couple of attributes that you specify from your terminal.
serverpod g model Hero name:String? age:int
it gonna generate a model in the server project like this
And with endpoint file hero_endpoint if necessary and apply automatically the migration after generating the model.
Possibility to revoke a migration
We should provide a cli command to revoke a last migration(by default) you did or revoke a specific migration.
for specific migration
serverpod d or destroy migration -v 'id of migration'
or last migration
serverpod d or destroy migration
Possibility to scaffold add crud operation in just single of command
We should keep the programmer happiness and improve our speed of development by adding some goodies to our developpers.
To scaffold a blog post without ui we should give something like this to our developper :
serverpod generate or g(for short) scaffold Blog title:String? content:String?
It going to generate model like this
and into endpoint folder inside the blog_endpoint file we should have something like this :
And automatically add into API Documenetation which is swagger.
Possibility to provide an administration interface by default
We should provide a web interface for administration for someone who want to try to execute his model in add panel for example like Django admin panel. The developer should import his model in our admin model and that's he added this specific model into admin panel.
Suggestion
for starting server let use serverpod serve
The text was updated successfully, but these errors were encountered: