<?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: Arnab Chakraborty</title>
    <description>The latest articles on DEV Community by Arnab Chakraborty (@arnabc27).</description>
    <link>https://dev.to/arnabc27</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%2F752602%2F3a055d72-156f-49f4-9b46-41f9d2655c1e.jpeg</url>
      <title>DEV Community: Arnab Chakraborty</title>
      <link>https://dev.to/arnabc27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arnabc27"/>
    <language>en</language>
    <item>
      <title>Amplication - Creating your First Service</title>
      <dc:creator>Arnab Chakraborty</dc:creator>
      <pubDate>Sun, 09 Oct 2022 12:09:26 +0000</pubDate>
      <link>https://dev.to/arnabc27/amplication-creating-your-first-service-d01</link>
      <guid>https://dev.to/arnabc27/amplication-creating-your-first-service-d01</guid>
      <description>&lt;h2&gt;
  
  
  What is Amplication?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://amplication.com/"&gt;Amplication&lt;/a&gt; is an open-source flexible tool for developing a full-fledged backend for an application within minutes. Developers only have to create data models and do the configuration using their interactive UI or CLI, and Amplication will generate a NodeJS application with fully functional REST APIs along with an Admin UI, based on the data models, authentication, and role-based authorization done while configuring the application. It also allows the developers to download the generated code and customize it according to them into the application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ieH3ZtOG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6crowh7iy8m4fxwo8rt9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ieH3ZtOG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6crowh7iy8m4fxwo8rt9.png" alt="Amplication" width="880" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Creating a New Service
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Log in to &lt;a href="https://app.amplication.com/"&gt;https://app.amplication.com/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click on the &lt;strong&gt;&lt;em&gt;Amplication logo&lt;/em&gt;&lt;/strong&gt; on the top-left corner to land on the &lt;strong&gt;&lt;em&gt;Projects&lt;/em&gt;&lt;/strong&gt; page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JJpuyxYL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdz98nny2iy1h2kun5g1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JJpuyxYL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdz98nny2iy1h2kun5g1.png" alt="Projects Page" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can change the &lt;strong&gt;&lt;em&gt;Workspace&lt;/em&gt;&lt;/strong&gt; by selecting or creating a new one in the left pane of the Projects page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tCzpKO4---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ssbcpghlvcs69ceiz98i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tCzpKO4---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ssbcpghlvcs69ceiz98i.png" alt="Workspace Pane" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now, to create a new service, click on the &lt;strong&gt;&lt;em&gt;Add Resource&lt;/em&gt;&lt;/strong&gt; button on the top-right section and from the drop-down select &lt;strong&gt;&lt;em&gt;Service&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_XnZBxWD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/912770cjszakj1ohyk5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_XnZBxWD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/912770cjszakj1ohyk5u.png" alt="Create Service option" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;&lt;em&gt;New Service page&lt;/em&gt;&lt;/strong&gt;, leave everything as default and click &lt;strong&gt;&lt;em&gt;Create Service&lt;/em&gt;&lt;/strong&gt; at the bottom-right corner to create an &lt;strong&gt;&lt;em&gt;Empty Service&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IqmQEt7Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/floeoceu3uvyqm7d4wl8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IqmQEt7Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/floeoceu3uvyqm7d4wl8.png" alt="New Service page" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Upon clicking the Create Service button, the page reloads and brings you to the &lt;strong&gt;&lt;em&gt;Service Overview page&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nKf_6Z6S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1v5doehnt68rl6xwc1d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nKf_6Z6S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1v5doehnt68rl6xwc1d.png" alt="Service Overview Page" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Create an Enitity
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;&lt;em&gt;Service Overview Page&lt;/em&gt;&lt;/strong&gt;, under &lt;strong&gt;&lt;em&gt;Entities&lt;/em&gt;&lt;/strong&gt;, click on &lt;strong&gt;&lt;em&gt;Go to Entities&lt;/em&gt;&lt;/strong&gt; to visit the Entities Page. You can also click on the Entities icon in the left side bar.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once on the Entities Page, click on &lt;strong&gt;&lt;em&gt;Add Entity&lt;/em&gt;&lt;/strong&gt; to create a new entity.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1EMNdntE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ral90oypwztlq3vgx75e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1EMNdntE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ral90oypwztlq3vgx75e.png" alt="Entities Page" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the New Entity dialog, type "Project" as the name of the entity and then click &lt;strong&gt;&lt;em&gt;Create Entity&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HXWosi26--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p1culn4cmsimwzplc365.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HXWosi26--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p1culn4cmsimwzplc365.png" alt="Create Entity dialog" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You will see that 3 fields, namely, &lt;strong&gt;&lt;em&gt;ID&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;Created At&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;Updated At&lt;/em&gt;&lt;/strong&gt; have been created for you by default. You can add more fields by typing a field name in the &lt;strong&gt;&lt;em&gt;Add Field&lt;/em&gt;&lt;/strong&gt; box and then clicking &lt;strong&gt;&lt;em&gt;+&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create fields &lt;strong&gt;&lt;em&gt;Name&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;Description&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;Start Date&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;Owner&lt;/em&gt;&lt;/strong&gt; by typing each field name and clicking +.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--N5oaGQqC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fjp0p9xgj7473qbh03uc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--N5oaGQqC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fjp0p9xgj7473qbh03uc.png" alt="Add Name" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L98Efk7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6v6vb60zxebzewy7jjc7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L98Efk7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6v6vb60zxebzewy7jjc7.png" alt="Add Description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SJOo3H89--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1yrwckl6wv1wj8iy11yr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SJOo3H89--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1yrwckl6wv1wj8iy11yr.png" alt="All fields added" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Connect to Github
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Click on Connect to Github at the bottom-left corner of the screen.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tfxQLjab--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bijpyn2fo3uex9v2bcvb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tfxQLjab--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bijpyn2fo3uex9v2bcvb.png" alt="Connect to Github" width="880" height="25"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You should appear at the &lt;strong&gt;&lt;em&gt;Sync with Github&lt;/em&gt;&lt;/strong&gt; page. Now click on &lt;strong&gt;&lt;em&gt;Connect to Github&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--K13fl5SL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4tpj9e7zx5xykjxwmwb6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K13fl5SL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4tpj9e7zx5xykjxwmwb6.png" alt="Sync with Github" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You'll have to authenticate Github with Amplication. The popup window will allow you to download Amplication in a selected repository of your choice, available on your Github account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EI7yJPjI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/siydia0z3vzz8in1nhse.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EI7yJPjI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/siydia0z3vzz8in1nhse.png" alt="Github authentication" width="880" height="495"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upon selecting the repository, click &lt;strong&gt;&lt;em&gt;Install&lt;/em&gt;&lt;/strong&gt;. Your service gets synced with the repository you've selected.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Back in Sync with Github page, click on &lt;strong&gt;&lt;em&gt;Select Repository&lt;/em&gt;&lt;/strong&gt; and select the one you have selected earlier in the popup dialog box.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y6x-DgHo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tf8kbq8j8lnk93dr2lk6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y6x-DgHo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tf8kbq8j8lnk93dr2lk6.png" alt="Select Repository" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Commit you Changes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;On the right side of the screen, you'll observe a Pending Changes panel. This panel lists all the changes you've made to your service which are not committed to your Github repository.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1eKpkZmF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xk5kshl51tasd6qtjckd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1eKpkZmF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xk5kshl51tasd6qtjckd.png" alt="Pending Changes" width="307" height="873"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Click on &lt;strong&gt;&lt;em&gt;Commit changes and build&lt;/em&gt;&lt;/strong&gt;. All changes will be committed. A build of the first version of your service is automatically created!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to your Github repository and visit the &lt;strong&gt;&lt;em&gt;Pull Requests&lt;/em&gt;&lt;/strong&gt; section. You'll be able to view the Pull Request made by Amplication to your repository. Click on the Pull Request and click &lt;strong&gt;&lt;em&gt;Merge pull request&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HnBSV_V7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7v3x9f9qe6pdvxueyuqw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HnBSV_V7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7v3x9f9qe6pdvxueyuqw.png" alt="Pull request" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Back in the Amplication site, you can click on &lt;strong&gt;&lt;em&gt;Go to view code&lt;/em&gt;&lt;/strong&gt; to view the code committed to your Github repo.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t9_szher--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bjxw0j7lfz05xdwu9kpv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t9_szher--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bjxw0j7lfz05xdwu9kpv.png" alt="View Code" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Amplication is a relatively new platform and there's lot of scope for it to succeed. For more information you can always go through their &lt;a href="https://docs.amplication.com/docs/"&gt;Documentaion&lt;/a&gt;. To contribute to Amplification, check out their &lt;a href="https://github.com/amplication/amplication"&gt;repository on github&lt;/a&gt;. To join their community, join their &lt;a href="https://discord.gg/Z2CG3rUFnu"&gt;Discord server&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>node</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
