<?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: Gin</title>
    <description>The latest articles on DEV Community by Gin (@_lancegin).</description>
    <link>https://dev.to/_lancegin</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%2F106631%2F115c7917-328e-4cec-9d83-b9654b9140ed.jpg</url>
      <title>DEV Community: Gin</title>
      <link>https://dev.to/_lancegin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_lancegin"/>
    <language>en</language>
    <item>
      <title>A simple way to manage and start your api mock server on your local platform.</title>
      <dc:creator>Gin</dc:creator>
      <pubDate>Mon, 08 Oct 2018 02:11:57 +0000</pubDate>
      <link>https://dev.to/_lancegin/a-simple-way-to-manage-and-start-your-api-mock-server-on-your-local-platform-1ol9</link>
      <guid>https://dev.to/_lancegin/a-simple-way-to-manage-and-start-your-api-mock-server-on-your-local-platform-1ol9</guid>
      <description>&lt;h1&gt;
  
  
  &lt;img alt="Mockman" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Forhcxc3kd.bkt.clouddn.com%2F256x256.png"&gt;
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;Mockman&lt;/code&gt; is a powerful and convenient tool that helps you to manage and start mock servers locally.&lt;/p&gt;

&lt;p&gt;With the app, you can easily configure the routes, request format and response of a mock server&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Screenshot
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Forhcxc3kd.bkt.clouddn.com%2Fmockman.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Forhcxc3kd.bkt.clouddn.com%2Fmockman.png" alt="Mockman"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Forhcxc3kd.bkt.clouddn.com%2Fmockman-preview.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Forhcxc3kd.bkt.clouddn.com%2Fmockman-preview.jpg" alt="Feature"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create your mock server - &lt;code&gt;click the add button&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Configure the &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;port&lt;/code&gt; and &lt;code&gt;prefix&lt;/code&gt; of your move server, make sure the port is not in use, or Mockman will give you a error notification.&lt;/li&gt;
&lt;li&gt;Add some apis for your mock server.&lt;/li&gt;
&lt;li&gt;Configure the &lt;code&gt;method&lt;/code&gt;, &lt;code&gt;route&lt;/code&gt;, &lt;code&gt;response code&lt;/code&gt;, &lt;code&gt;latency&lt;/code&gt;, &lt;code&gt;required request options&lt;/code&gt; and &lt;code&gt;reponse data&lt;/code&gt; of each api.&lt;/li&gt;
&lt;li&gt;Start the server - &lt;code&gt;click the start button&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;After all, you can test your api locally.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;Where will your api data be stored?&lt;/p&gt;

&lt;p&gt;Your data will be stored as a &lt;code&gt;sqlite file&lt;/code&gt; absolutely on your local, the path will be different on different operation system. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;%APPDATA%&lt;/code&gt;  for Windows&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;$XDG_CONFIG_HOME or ~/.config&lt;/code&gt; for Linux&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;~/Library/Application Support&lt;/code&gt; for macOS&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>electron</category>
      <category>crossplatform</category>
      <category>mockserver</category>
      <category>apimock</category>
    </item>
  </channel>
</rss>
