Scoriet, a program generator
Hi community,
long time ago, I thought about a possibility to extend my code generator, to generate python code too. It’s finally here, hopefully it’s of use to the community.
What you get is an open-source Github Project for reading a mysql or postgresql database and generate a whole app based on a template. It is a Windows 32-bit or 64-bit program, running Windows 7+.
Initially developed for my own purposes, only to generate PHP snippets or small classes.
But time comes and I decided to expand the tool, later even make it open-source.
Last week, I talked a lot on discord, but there was no interest in a python rest API generated by a windows open-source program…
So here I am, presenting at dev.to, maybe here are some developers who desperatly need such a tool??
So, it connects to a mysql or a postgresql database, import the structure with constraints and keys, then it can generate a complete app with a mouse click, based on a template. You can stack some compatible templates, make changes to stock templates and more. You can export / import new/change, share templates with other users and more.
You can import a database (this is version 1), you make changes to the database, import again (this is version 2), every version is stored, so you can, for example, make a model (for laravel as example), to make changes to the latest database model?!
Actual, I made a simple web-site, a PHP REST API and now a Python Flask REST API.
When I have more time, maybe I can even finish the database designer (for new or editing existing databases), this is my next project for Scoriet…
I have a small developer blog (www.predl.cc) but actual in German, later it will be extended to English!
Comments, wishes and criticism are welcome, hope this project can be a help for you.
PS: not every change on the template I have to do, you can do it on yourself?! Look at the document folder scoriet/templates/python_rest you find there the template files, open with any editor (notepad++ is ok), but not with Microsoft Studio Code, because, the template keys are with curly brackets for example {filename} and Microsoft Studio Code don’t like them! But if you do changes and want to share with the project, please send me the files or complete templates to office[add]scoriet.com, I’ll check them and include them in the setup.
暂无评论内容