<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexander Predl</title>
    <description>The latest articles on DEV Community by Alexander Predl (@harveyhase68).</description>
    <link>https://dev.to/harveyhase68</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F546966%2Fa7f02e89-8116-4def-a2e4-f66c47ad1d03.png</url>
      <title>DEV Community: Alexander Predl</title>
      <link>https://dev.to/harveyhase68</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harveyhase68"/>
    <language>en</language>
    <item>
      <title>Python Flask REST API Generator...</title>
      <dc:creator>Alexander Predl</dc:creator>
      <pubDate>Sun, 16 Jul 2023 21:05:09 +0000</pubDate>
      <link>https://dev.to/harveyhase68/python-flask-rest-api-generator-4hee</link>
      <guid>https://dev.to/harveyhase68/python-flask-rest-api-generator-4hee</guid>
      <description>&lt;h2&gt;
  
  
  Scoriet, a program generator
&lt;/h2&gt;

&lt;p&gt;Hi community,&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.scoriet.com"&gt;Link to scoriet.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What you get is an open-source &lt;a href="https://github.com/Harveyhase68/scoriet"&gt;Github Project&lt;/a&gt; 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+.&lt;/p&gt;

&lt;p&gt;Initially developed for my own purposes, only to generate PHP snippets or small classes.&lt;/p&gt;

&lt;p&gt;But time comes and I decided to expand the tool, later even make it open-source.&lt;/p&gt;

&lt;p&gt;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...&lt;/p&gt;

&lt;p&gt;So here I am, presenting at dev.to, maybe here are some developers who desperatly need such a tool??&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZdK7GhxR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yz7kvx7biltol1xvgfvx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZdK7GhxR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yz7kvx7biltol1xvgfvx.png" alt="Image description" width="800" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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?!&lt;/p&gt;

&lt;p&gt;Actual, I made a simple web-site, a PHP REST API and now a Python Flask REST API.&lt;/p&gt;

&lt;p&gt;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...&lt;/p&gt;

&lt;p&gt;I have a small developer blog (&lt;a href="https://www.predl.cc/entwicklerblog"&gt;www.predl.cc&lt;/a&gt;) but actual in German, later it will be extended to English!&lt;/p&gt;

&lt;p&gt;Comments, wishes and criticism are welcome, hope this project can be a help for you. &lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

</description>
      <category>python</category>
      <category>flask</category>
      <category>windev</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
