<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[TeaCode.io - Medium]]></title>
        <description><![CDATA[We are a company that builds apps in JavaScript with Node.js, ReactJS and React Native. We specialise in web, mobile and backend development. In addition, we also take care of the Internet of Things (IoT), AI and machine learning-based projects. - Medium]]></description>
        <link>https://medium.com/teacode-io?source=rss----29960fd47e5a---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>TeaCode.io - Medium</title>
            <link>https://medium.com/teacode-io?source=rss----29960fd47e5a---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:57:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/teacode-io" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Things You Need to Do Before Releasing Your App to the App Store]]></title>
            <link>https://medium.com/teacode-io/things-you-need-to-do-before-releasing-your-app-to-the-app-store-10fae548a9f6?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/10fae548a9f6</guid>
            <category><![CDATA[app-store]]></category>
            <category><![CDATA[app-store-optimization]]></category>
            <category><![CDATA[aso]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[play-store]]></category>
            <dc:creator><![CDATA[Gabriela Adynowska]]></dc:creator>
            <pubDate>Thu, 09 Dec 2021 11:33:19 GMT</pubDate>
            <atom:updated>2021-12-09T11:33:18.959Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GosjP6mhcEvgrULib73JQg.png" /></figure><p>There are so many various apps that are being developed and submitted to the App Store daily that it may give one a headache. Consequently, the standards are getting higher and higher — not only tech-wise but also on the customer (target audience) side. All the expectations and demands to hit the brief can be very intimidating. This is why we want to guide you through a very important fraction of it — all the things that you need to do right before releasing your app. As it all is usually being taken care of pretty late in the timeline it is very often neglected or forgotten. Or simply, people are too much in a hurry to properly focus on what is there to consider before launching an app.</p><p>I would venture to say that the very final part of the development process that we are going to be talking about now is crucial in order to nail the release of your product to the App Store. So, are you ready to launch your mobile app with us?</p><h3>Am I alone in this?</h3><p>Most self-respecting professional developers will guide you through the whole process of development, deployment and store verification of your product so that you do not have to do it alone. They will provide you with tips, a checklist or ideas/strategy options for you to reach the market and customers you desire so that you can launch your app painlessly. Sadly, sometimes people have to take care of it themselves.</p><p>However, even if you have a great software development company taking care of you, you may want to get to know this secret formula by yourself as well.</p><h3>App Store Optimization before launching your mobile app</h3><p>Nearly all of the App Store Optimization steps are vital when it comes to succeeding on the market. Some of them may be obvious for the more experienced readers, yet we decided to keep them here for the sake of beginners in releasing apps. Let’s see what you need to prepare and decide on before launching your app, shall we?</p><h3>Study your contenders</h3><p>Before releasing an app you definitely need to scroll through the App Store &amp; Google Play Store &amp; the Internet in order to search for similar apps to yours. Analyze both the apps themselves (their features, layout etc.) and all the other provided traits, such as screenshots, mockups, descriptions and anything else that is provided. This way, you can learn a lot about your competitors’ strengths and take advantage of their weaknesses pre-launch.</p><h3>Check compatibility, rendering and the size of your app</h3><p>Make sure that your app will run freely on the versions of Android and iOS that you chose earlier on as well as name the oldest versions of operating systems that it will be available for.</p><p>A well-rendered app will easily load on all kinds of screen sizes and pixel densities. It is important to remember about it unless you do not want to call your app scalable.</p><p>Do not forget about the fact that in both Google Play and App Store in order to download the app using a mobile network (not WiFi) it has to be 100 MB maximum. Any bigger ones will have to be downloaded outside the cell network and this fact is a limitation that may stand on your way to success in the number of app downloads and users.</p><h3>Decide on pricing</h3><p>It makes a big difference whether an app in the store is free of charge or not. An important thing to note is that it is impossible to change from a free to a priced app later on in the app store. Pricing also affects the regions where your app can be downloaded in the world. There are still some places that do not support paid downloads and/or in-app purchases.</p><h3>Decide on the launch date</h3><p>Find a suitable moment for your app to be launched officially. You may want to think it through as it is not “launching your app as soon as it is possible” that gives you the best results. What works way better is focusing a bit on marketing and making the buzz around your project beforehand! A good marketing strategy is half of the success.</p><p>Also, bear in mind that your launch date should not be on the same day as any of the special events in the industry or ‘busy’ calendar days when people have other things pulling them away from the store.</p><h3>Choose the distribution area</h3><p>Think about your target audience, analyse the market or go big and allow downloads from all over the world! Remember that (especially if the language of your app is not English by default) you should provide all the necessary translations.</p><h3>Write a catchy description</h3><p>Remember that it should be a rather short, highly informative text that sticks to the policies of your brand. You may want to ask yourself how formal do you want it to be and what tone you want to use. It should be coherent with your app marketing, website, social media channels etc.</p><p>Remember that the formal requirements are as follows: you should not exceed 30 words range and not overuse the app keywords. However, done right app keywords for ASO can be very helpful.</p><h3>Do the screenshots</h3><p>Prepare various screenshots of your app and decide on which ones of them are the most representative. Some of them will surely look better than others, put them in the mockups!</p><p>Moreover, make sure that you have a neat landing page that you can freely brag about. The screens of your mobile app and its description should be available there as well!</p><h3>Create and upload mockups</h3><p>Put the screenshots into mockups that are app store optimised. This makes it easier for the app to go through the verification process and makes the whole arrangement look more professional. You can easily find them online or hire a specialist who will do it for you.</p><p>Depending on the app store you choose, you can upload up to 5, 8 or 10 mockups aka screenshots.</p><h3>Create a video teaser of your app &amp; spread the word</h3><p>This is another way of making people want to download your app. A nice video showing off all the nicest features can really do miracles. Especially if you decide to release it earlier on as a part of your marketing strategy. Focus not only on the looks but also on other aspects of the app launch video, such as,</p><h3>Focus on social media &amp; Internet marketing strategy of your app</h3><p>Promote your app! Think about it <strong>months</strong> before the planned app launch date. This way you can ensure yourself a good amount of downloads (clients) right away. If you make an interesting campaign, people will be literally counting the days until your app gets on the market. Consider creating social media accounts where you will post some teasing screenshots and videos. Your aim should be to hook people within a few weeks/months time so that they are willing to go straight to the App Store (or Google Play Store, etc.) as soon as your app is ready to download.</p><p>Something that you may also want to contemplate is creating a preorder or an early sign up for your project. Having marketing done right, you should be able to get many people interested in this form of exclusive app access. This form of early access is the most popular in the gaming industry, however, it works for other applications as well.</p><h3>To Conclude…</h3><p>Remember that success is never guaranteed, however, you can do certain things in order to increase the likelihood of your app launch hitting not only the sky but also the target audience and customer satisfaction.</p><p>As you can see, the process of launching your app into the app store is a much more complicated thing than a lot of people think. We advise you to take it into consideration and take care of all the mentioned above points at least a few weeks before the set launching date or/and before finishing off the development process. This way you ensure yourself the best start possible. Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10fae548a9f6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/things-you-need-to-do-before-releasing-your-app-to-the-app-store-10fae548a9f6">Things You Need to Do Before Releasing Your App to the App Store</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started With AWS Amplify]]></title>
            <link>https://medium.com/teacode-io/getting-started-with-aws-amplify-2b79ba88b305?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b79ba88b305</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[aws-amplify]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Paweł Pierzchlewicz]]></dc:creator>
            <pubDate>Sat, 11 Sep 2021 15:02:45 GMT</pubDate>
            <atom:updated>2021-09-11T14:58:47.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fpsvn-MZcmfg11DG.png" /></figure><p>At TeaCode.io we really like our tea though at times its stock may run out. This has given us ideas for several impressive web apps. Let me take you on a journey of building and deploying a super simple tea management app with AWS Amplify.</p><h3>What is AWS Amplify?</h3><p>AWS Amplify provides developers with a set of tools and services for the rapid development of scalable full-stack applications. Amplify allows one to quickly configure a backend and connect it to your app and then deploy it! Sounds too good to be true? Well, let me show you how quickly you can set up, build and deploy a simple React.js tea management app using AWS services.</p><h3>Planning out the app</h3><p>Let’s first plan out the app so that we know what we are going to need. Firstly, we need a front-end app that we will build using React.js. We also want to store the data — DynamoDB with a GraphQL API will manage this for us. Finally, we want to have an authorization system and we will let AWS Cognito handle it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/0*UmmbHFtAGNniHfYR.png" /><figcaption>AWS Amplify app map</figcaption></figure><h3>Basic Setup</h3><p>In order to use AWS Amplify you will need to create a free AWS account. Next, install the AWS amplify cli package using npm. You might need to run this with sudo depending on your system policies.</p><pre>npm install -g <a href="http://twitter.com/aws">@aws</a>-amplify/cli</pre><p>Once it is installed, run the configuration script.</p><pre>amplify configure</pre><p>It will take you through all the necessary steps including setting up an IAM user, which for the tutorial you should create with the AdministratorAccess policy. Remember to store the accessKeyId and the secretAccessKey as they are going to be required in the later steps.</p><pre>Specify the AWS Region<br>? region:  # Your preferred region<br>Specify the username of the new IAM user:<br>? user name:  # User name for Amplify IAM user<br>Complete the user creation using the AWS console</pre><pre>Enter the access key of the newly created user:<br>? accessKeyId:  # YOUR_ACCESS_KEY_ID<br>? secretAccessKey:  # YOUR_SECRET_ACCESS_KEY<br>This would update/create the AWS Profile in your local machine<br>? Profile Name:  # (default)</pre><pre>Successfully set up the new user.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v8jqaElGR6Q3vXam.png" /><figcaption>Add User AWS</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JNEsI8ViEYa1dAMW.png" /><figcaption>Add User AWS</figcaption></figure><h3>Frontend Setup</h3><p>With the basics of amplify all done let’s configure our simple React app. Run the following commands:</p><pre>npx create-react-app tea-management-app<br>cd tea-management-app</pre><p>This will create a new React app in the tea-management-app directory. Now, from the root directory, we can initialize the backend using amplify. Simply run:</p><pre>amplify init</pre><p>During the initialization, you will be prompted to answer a couple of questions.</p><pre>Enter a name for the project (tea-mangement-app)</pre><pre># All AWS services you provision for your app are grouped into an &quot;environment&quot;<br># A common naming convention is dev, staging, and production<br>Enter a name for the environment (dev)</pre><pre># Sometimes the CLI will prompt you to edit a file, it will use this editor to open those files.<br>Choose your default editor</pre><pre># Amplify supports JavaScript (Web &amp; React Native), iOS, and Android apps<br>Choose the type of app that you&#39;re building (javascript)</pre><pre>What JavaScript framework are you using (react)</pre><pre>Source directory path (src)</pre><pre>Distribution directory path (build)</pre><pre>Build command (npm run build)</pre><pre>Start command (npm start)</pre><pre># This is the profile you created with the `amplify configure` command in the introduction step.<br>Do you want to use an AWS profile</pre><p>With Amplify initialized, let’s install the necessary amplify packages by running</p><pre>npm install aws-amplify <a href="http://twitter.com/aws">@aws</a>-amplify/ui-react</pre><p>The aws-amplify package provides you with all the necessary methods to interface with amplify and @aws-amplify/ui-react provides you with some React-specific UI components.</p><p>Finally, let’s configure the AWS Amplify client by adding the following code to src/index.js.</p><pre>import Amplify from &quot;aws-amplify&quot;;<br>import awsExports from &quot;./aws-exports&quot;;<br>Amplify.configure(awsExports);</pre><h3>Adding a GraphQL API</h3><p>To add an API it is as simple as running the following command in the root directory of your project.</p><pre>amplify add api</pre><p>For this tutorial accept the default values. As a result, you should have the following output.</p><pre>? Please select from one of the below mentioned services:<br># GraphQL<br>? Provide API name:<br># teaapi<br>? Choose the default authorization type for the API:<br># API Key<br>? Enter a description for the API key:<br># demo<br>? After how many days from now the API key should expire:<br># 7 (or your preferred expiration)<br>? Do you want to configure advanced settings for the GraphQL API:<br># No<br>? Do you have an annotated GraphQL schema?<br># No<br>? Choose a schema template:<br># Single object with fields (e.g., “Todo” with ID, name, description)<br>? Do you want to edit the schema now?<br># Yes</pre><p>The CLI should open the GraphQL schema, however, should it fail to do so you can find it under <strong><em>amplify/backend/api/teaapi/schema.graphql</em></strong><em>.</em> Replace the contents of the file with:</p><pre>type Tea <a href="http://twitter.com/model">@model</a> {<br>  id: ID!<br>  name: String!<br>  bags: Int!<br>}</pre><h4>Deploying the GraphQL API</h4><p>Now let’s deploy the backend by simply running the push command.</p><pre>amplify push</pre><p>When pushing a new API version the CLI will ask you a couple of questions. You should answer them in the following way:</p><pre>? Are you sure you want to continue? Y</pre><pre># You will be walked through the following questions for GraphQL code generation<br>? Do you want to generate code for your newly created GraphQL API? Y<br>? Choose the code generation language target: javascript<br>? Enter the file name pattern of graphql queries, mutations and subscriptions: src/graphql/**/*.js<br>? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions? Y<br>? Enter maximum statement depth [increase from default if your schema is deeply nested]: 2</pre><h4>GraphQL operations are automatically generated</h4><p>As a result, AWS Amplify will generate all the necessary CRUD operations for you to interface with the GraphQL API. You can find these under src/graphql/. For example, under src/graphql/mutations.js you will find the mutations for creating, updating and deleting tea objects from the database. Let&#39;s look at the createTea mutation.</p><pre>export const createTea = /* GraphQL */ `<br>  mutation CreateTea(<br>    $input: CreateTeaInput!<br>    $condition: ModelTeaConditionInput<br>  ) {<br>    createTea(input: $input, condition: $condition) {<br>      id<br>      name<br>      bags<br>      createdAt<br>      updatedAt<br>    }<br>  }<br>`;</pre><p>It provides an interface for you to call from your frontend app to create a Tea object. It accepts an input of type CreateTeaInput which is automatically generated and defined in the schema.graphql which you can locate under #current-cloud-backend/api/teaapi/build/schema.graphql. In this file, you should be able to find the CreateTeaInput definition. It should be:</p><pre>input CreateTeaInput {<br>  id: ID<br>  name: String!<br>  bags: Int!<br>}</pre><p>This means that the CreateTeaInput requires a <em>name</em> as a string and <em>bags</em> as an int. The <em>id</em> of type ID is optional. You will also find the definitions of the remaining objects in the schema.graphql. Note, however, that these are generated automatically, so any changes that you make to these definitions will be overwritten when you call the amplify push command. At the same time, this means that when you change something in the definition of the model you need to push the changes to get the updated version of your functions.</p><h3>Adding UI to the App</h3><p>Now that our backend is setup we can build the frontend of our tea management app. We will create a form for adding new types of tea with the specified number of bags and display a list of the available teas that you can either drink or delete.</p><p>Open src/App.js and replace the code with the following code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9818a21941cacd8d2b9b2e928bf3e03c/href">https://medium.com/media/9818a21941cacd8d2b9b2e928bf3e03c/href</a></iframe><p>Let’s break down some of the functions that we have here.</p><ul><li><strong>fetchTeas</strong> — it fetches a list of teas using the aws-amplify API module and the <em>listTeas</em> query function.</li><li><strong>addTea</strong> — it calls the <em>createTea</em> mutation using the aws-amplify API module based on the data provided in the form.</li><li><strong>removeTea</strong> — it calls the <em>deleteTea</em> mutation using the aws-amplify API module using the id of the tea object. It is called when the delete button is clicked.</li><li><strong>drinkTea </strong>— it updates the tea object by removing one bag. If the number of bags reaches 0, the tea object is removed.</li></ul><p>All of these functions integrate with the API and the database making it straightforward for frontend developers to build some functionalities without diving deep into the matters of the backend.</p><h3>Run it locally</h3><p>To check if everything works as intended run the app locally by calling:</p><pre>npm start</pre><p>You should see the form for adding tea. Once you add a couple of teas, your app should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EEK-kBhgy-lESCIb.png" /><figcaption>UI of the Tea Management AWS App</figcaption></figure><h3>Adding authentication</h3><p>Now let’s see how easy it is to add authentication to your app. AWS provides the Amazon Cognito service which Amplify uses as its main authentication provider. It allows you to manage all user-related business without the need of setting up the whole system by hand! Just like with the API it is a simple as running:</p><pre>amplify add auth</pre><p>and answering the questions</p><pre>? Do you want to use the default authentication and security configuration? Default configuration<br>? How do you want users to be able to sign in? Username<br>? Do you want to configure advanced settings?  No, I am done.</pre><p>and finally you need to push the new service</p><pre>amplify pushAuthentication UI works out of the box</pre><p>The @aws-amplify/ui-react package provides you with a ready solution for the authentication UI all you need to do is import the higher-order component</p><pre>import { withAuthenticator } from &#39;<a href="http://twitter.com/aws">@aws</a>-amplify/ui-react&#39;</pre><p>and wrap the main App component</p><pre>export default withAuthenticator(App)</pre><p>Now start your app and you should now see a login and registration UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H8e_nkqbSG83WLi9.png" /><figcaption>Authentication UI</figcaption></figure><p>Once you create an account you can log in and have access to the tea management app!</p><h3>Deploy the App!</h3><p>Now that the app is all setup let’s deploy it to be available remotely. For this, we need to add a hosting</p><pre>amplify add hosting</pre><p>and answer the questions</p><pre>? Select the plugin module to execute: # Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment)<br>? Choose a type: # Manual Deployment</pre><p>finally, we can publish the app</p><pre>amplify publish</pre><h3>The app is now online!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b79ba88b305" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/getting-started-with-aws-amplify-2b79ba88b305">Getting Started With AWS Amplify</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to MongoDB]]></title>
            <link>https://medium.com/teacode-io/introduction-to-mongodb-69a43a85516f?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/69a43a85516f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[mongo]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Michał Młynarczyk]]></dc:creator>
            <pubDate>Mon, 23 Aug 2021 12:32:04 GMT</pubDate>
            <atom:updated>2021-08-23T12:32:03.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bBomlKwyCoDuh4nR.png" /><figcaption>MongoDB</figcaption></figure><p>Enormous data sets from the Internet are transforming daily lives and industries around the world. In these times, modern organizations can use databases to store huge amounts of data for analytical purposes. They analyze it order to make better business decisions and to enhance their work efficiency.</p><p>Modern databases often support complex queries and we expect that they will provide immediate responses for them. For this reason, database administrators have to implement methods for increasing efficiency.</p><p>Here we can distinguish some of the challenges that one may encounter:</p><ul><li>Provide safety of data</li><li>Significant increase in data</li><li>Scalability</li></ul><h3>What is a NoSQL database?</h3><p>NoSQL, also known as non-relational database, is a kind of database where you can store, organize, and find data differently than in traditional relational databases.</p><p>NoSQLs are an alternative to SQL (Structured Query Language) databases, where data is placed in tables and data schema is carefully planned before the database is built.</p><p>Relational database stores data in table form with labeled rows and columns. Even though relational database provides an acceptable solution for storing data — speed and scalability could be an issue in some cases.</p><p>Non-relational databases have been created from the need to operate with larger volumes of data, which forced the transition to clusters of less efficient servers.</p><p>The considerable advantage of NoSQL databases is horizontal scaling. We can consider NoSQL ‘documents’ as sort of ‘self-contained’ objects, which can be on different servers without concern about joining rows from multiple machines.</p><p>The common structures adapted by NoSQL databases to store data are key-value pairs, graphs, wide columns, or as written before — documents. Documents are organized in a structure called a “collection”. As an analogy, we can think of a document as a row in a table and a collection as the table itself.</p><p>An example of a NoSQL database is MongoDB, which is a type of document store database. Now we can proceed to the real <em>introduction to MongoDB</em> :)</p><h3>How to start with MongoDB?</h3><p>We will consider installing a database in the macOS environment.</p><p>In the very beginning, please make sure that you have Homebrew installed. You can check this by inputting “brew -v”, which should show you the version of Homebrew that is installed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VeYPDSqQBR3HdNox" /><figcaption>Homebrew input</figcaption></figure><p>If you haven’t installed it yet, you should install it by:</p><p><strong>“$ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)&quot;“”</strong></p><p>After installation of Homebrew, we can start installing MongoDB. We will install version 5.0, which is the most current version at the moment of writing this article.</p><p><strong>“brew install mongodb-community@5.0”</strong></p><p>The next step is to start MongoDB as a macOS service. This NoSQL database will start in the background automatically.</p><p><strong>“brew services start mongodb-community@5.0”</strong></p><p>The last step is to connect a mongo shell to the running instance and type in the terminal:</p><p><strong>“mongo”</strong></p><p>And that’s it! MongoDB is now running.</p><h3>Working with MongoDB</h3><p>To start working with MongoDB we have to switch to our new database by typing use [yourDatabaseName] in the terminal and then we will check that everything is working properly by typing: <strong>db</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/0*_pAkOphbpByYX9BN" /><figcaption>MongoDB terminal information</figcaption></figure><p>If you see on your terminal similar information as on the screenshot above, we can create our first collection by inserting the first document.</p><p>We will create a collection called: “users” and insert the key name with the value: “Mike”.</p><p><strong>db.users.insertOne( { name: ‘Mike’ } );</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/0*thXjMlJ4y2g3inOA" /><figcaption>MongoDB .insertOne method</figcaption></figure><p>And here we have created our first collection of users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G9T719h2dsjBw5ii" /><figcaption>MongoDB Mike user</figcaption></figure><p>In order to better control your collection, I recommend that you install Robo 3T. Which you can find on the official website: <a href="https://robomongo.org/">https://robomongo.org/</a></p><p>I will use Robo 3T in this project (article).</p><h3>CRUD Operations</h3><p>As an introduction to the MongoDB database, I will describe the well-known operations for every programmer and probably in all programming languages — CRUD operations, which is an acronym of “Create, Read, Update and Delete”. The non-relational database MongoDB has lots of methods of managing documents, but I will describe only the most common practices among programmers.</p><h3>Create operations</h3><p>db.collection<strong>.insertOne()</strong></p><p><strong>.insertOne</strong> — it allows you to insert only one document into the database. It takes as an argument the document saved in JSON standard with the key-value pairs.</p><p>Example:</p><p>db.users<strong>.insertOne</strong>({ name: ‘Michal’ })</p><p>This should show you an object with a newly created Id.</p><p><strong>{ “acknowledged” : true, “insertedId” : ObjectId(“5f831a9de0aa4cf0a66858f8”) }</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/0*1HCT3H53TSlLzqWS" /><figcaption>MongoDB .insertOne</figcaption></figure><p>and in the database, your document should now look like this:</p><p><strong>{</strong></p><p><strong>_id: ObjectId(“5f831a9de0aa4cf0a66858f8”)</strong></p><p><strong>name: “Michal”</strong></p><p><strong>}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gUJL5W3Zvo660vpz" /><figcaption>MongoDB Database</figcaption></figure><p>db.collection<strong>.insertMany()</strong></p><p><strong>.insertMany()</strong> — it allows you to insert an array of documents to the collection. It takes as an argument an array of JSON objects with the key-value pairs.</p><p>Example:</p><p>db.users<strong>.insertMany</strong>([</p><p>{ name: ‘Michal’ },</p><p>{ name: ‘George’ }</p><p>{ name: ‘Martin’ }</p><p>])</p><p>It should show you an object with a newly created array with Object Ids.</p><p><strong>{</strong></p><p><strong>“acknowledged” : true,</strong></p><p><strong>“insertedIds” : [</strong></p><p><strong>ObjectId(“5f832215e0aa4cf0a66858f9”),</strong></p><p><strong>ObjectId(“5f832215e0aa4cf0a66858fa”),</strong></p><p><strong>ObjectId(“5f832215e0aa4cf0a66858fb”)</strong></p><p><strong>] }</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4VJqYL_bC3hRa-Xf" /><figcaption>MongoDB .insertMany()</figcaption></figure><p>and in the database, your documents should look like this:</p><p><strong>{</strong></p><p><strong>_id: ObjectId(“</strong>5f832215e0aa4cf0a66858f9<strong>”)</strong></p><p><strong>name: “Michal”</strong></p><p><strong>},</strong></p><p><strong>{</strong></p><p><strong>_id: ObjectId(“</strong>5f832215e0aa4cf0a66858fa<strong>”)</strong></p><p><strong>name: “George”</strong></p><p><strong>},</strong></p><p><strong>{</strong></p><p><strong>_id: ObjectId(“</strong>5f832215e0aa4cf0a66858fb<strong>”)</strong></p><p><strong>name: “Martin”</strong></p><p><strong>}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YL2-1xFnacVp7Hzd" /><figcaption>MongoDB Database</figcaption></figure><p><strong>Deprecated:</strong></p><p>db.collection.<strong>insert()</strong> — it works just like .insertOne(), but it replaced it from version 3.2 onwards.</p><h3>Read operations</h3><p>db.collection.<strong>find(query, projection)</strong> — it returns the cursor to the documents that match the query criteria.</p><p>Find method gets two optional arguments:</p><ul><li><strong>query</strong> — it specifies the selection criteria. If you want to return all the documents, you have to omit this parameter or enter an empty JSON object: “{}”</li><li><strong>projection — specifies the fields that should be returned from the matched query.</strong></li></ul><p>Invoking .find on the previously created collection of users will look like following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kSKUHKK9c_Qdz7lH" /><figcaption>MongoDB db.collection.find(query, projection)</figcaption></figure><p><strong>db.users.find()</strong></p><p>That created query should return all of the documents in the collection of users.</p><p>What if we wanted to find all the users that fulfil the criteria of age greater than 18?</p><p>We need to use <a href="https://docs.mongodb.com/manual/reference/operator/query-comparison/">comparison query operators</a>.</p><p><strong>db.users.find({ age: { $gt: 18 }})</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rUJXQYq4JqL4MZTa" /><figcaption>MongoDB <strong>db.users.find()</strong></figcaption></figure><p>It returned the cursor that met the criteria of the query.</p><p><strong>db.collection.findOne(query, projections)</strong></p><p>It works similarly to the find() method, but it returns the document that fulfils the query.</p><h3>Update operations</h3><p><strong>db.collection.update(query, update, options)</strong></p><p>This method modifies the fields of an existing document or documents. It can also replace the entire document, depending on what will be inserted in the update parameter.</p><p>It takes the following parameters:</p><ol><li>Query — it is the selection criterion for the update.</li><li>Update — modifications that we want to apply to the searched document</li><li>Options — optional parameter, where we can specify what additional action should happen e.g. upsert.</li></ol><p>As an example, we can update the document from ‘users collection’ in our database.</p><p>Firstly, let’s see what it looks like now.</p><p><strong>db.users.find()</strong></p><p>As you can remember, ‘find’ without argument returns us the whole ‘users collection’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jmEuRHe0jSMfZJ0n" /><figcaption>MongoDB <strong>db.users.find()</strong></figcaption></figure><p>Now we will update the age of <strong>Michal.</strong></p><p><strong>db.users.update({ name: ‘Michal’ }, { name: ‘Michal’, age: 27 })</strong></p><p><strong>what is returned:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3rbVZUozoP1WXzAJ" /><figcaption>MongoDB returned value for <strong>db.users.find()</strong></figcaption></figure><p>So, we can see that one document matched and one was modified. That’s fine. Now, let’s check how the ‘users collection’ looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Noeg66MTimhw2RSz" /><figcaption>MongoDB users collection</figcaption></figure><p>As you can see, the document with the value of the key name ‘Michal’, has now updated the key ‘age’.</p><p>One option worth mentioning in the update method is ‘upsert’. It creates a new document when no document in the collection matches the criteria of the query.</p><p>Let us check this in practice. As an example, I will try to update the non-existing document with the key “name” value “Jacob”.</p><p><strong>db.users.update({ name: ‘Jacob’ }, { name: ‘Jacob’, age: ‘28’ }, { upsert: true })</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uF05MtBLuonBFBYZ" /><figcaption>MongoDB upsert parameter</figcaption></figure><p>Once again I will invoke the find method in the collection users. It returns the array with JSON objects with known before key-value pairs. The results show us the information that no object met the criteria. Eventually, one object has been created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pho0RymXpwFFZRLV" /><figcaption>MongoDB object created</figcaption></figure><h3>Delete operations</h3><p><strong>db.collection.deleteOne()</strong></p><p>This method deletes one document that matches the query criteria. It is necessary to use a unique index as a parameter, like an ID.</p><p>From our ‘users collection’ we want to remove the following document with key name value “John” and key age value “5”.</p><p><strong>{ “_id” : ObjectId(“5f831a9de0aa4cf0a66858f8”), “name” : “John”, “age” : 5 }</strong></p><p>As we can imagine, name and age are not good examples of unique indexes in our collection. They can be repeated multiple times, so we will use the <strong>_id</strong> which must have a unique value.</p><p><strong>db.users.deleteOne({ _id: ObjectId(“5f831a9de0aa4cf0a66858f8”) })</strong></p><p>The result of entering this command should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9gJ8I43iYjgJu0r2" /><figcaption>MongoDB <strong>db.collection.deleteOne()</strong></figcaption></figure><p>and our collection will have now four documents:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qtrThJlVE1W3u6N9" /><figcaption>MongoDB document list</figcaption></figure><p><strong>db.collection.deleteMany()</strong></p><p>It is used to remove multiple elements from the collection that fit the given criteria.</p><p>We can use this method in order to remove all the documents in which the key “<strong>age”</strong> value is higher than 20. To do this we can use the below method:</p><p><strong>db.users.deleteMany({ age: { $gt: 20 } })</strong></p><p>I used comparison query operators when I described the “find” method.</p><p>As a result of using this command, we can see the information that three documents were removed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UPIckTxU5waKvF8h" /><figcaption>MongoDB <strong>db.collection.deleteMany()</strong></figcaption></figure><p>Eventually, our collection should have only one document with the key name value “Martin”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1vWISc9GAHZeI7NJ" /><figcaption>MongoDB final collection</figcaption></figure><h3>Conclusion</h3><p>MongoDB is an easy-to-learn document store database, which is often used with a combination of ExpressJS, React, and NodeJS as a basic database in a stack called simply MERN.</p><p>In most cases the performance is sufficient and this face makes MongoDB a good database for projects with simple data access.</p><p>The future of MongoDB looks bright because there is still a trend toward building web-based applications that require simple (but many!) queries going on, which MongoDB can manage.</p><p>If you are not sure how to start with databases in general — I suggest you using MongoDB as your first go-to choice. It is easier to start and to get used to than relational SQL databases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69a43a85516f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/introduction-to-mongodb-69a43a85516f">Introduction to MongoDB</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Reasons Why You Should Outsource Software]]></title>
            <link>https://medium.com/teacode-io/10-reasons-why-you-should-outsource-software-56cf0d147dad?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/56cf0d147dad</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[outsourcing]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[outsourcing-software-dev]]></category>
            <dc:creator><![CDATA[Gabriela Adynowska]]></dc:creator>
            <pubDate>Wed, 28 Jul 2021 11:46:40 GMT</pubDate>
            <atom:updated>2021-07-28T11:46:40.472Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ay3z9RuBjwit0n9J.jpg" /></figure><p>Do you have a great idea for a business based on the web that needs to be taken care of? Are you the CEO of your company and wish to be open to new things and do something innovative? Are you an entrepreneur startup that wishes to have their app done smoothly and quickly? Well, these are only a few cases when outsourcing software development for a start-up proves more than effective. Let’s have a look at our top 10 reasons why you should outsource software of your start-up:</p><h3>No need to employ anyone full-time</h3><p>Being a start-up usually equals being a relatively small company with not too many job positions (not to even mention funding that is vital to be spent on more important things than a web developer vacancy). Short-term employment of professionals is a perfect solution for start-ups as you don’t have to be your company’s HR manager and go through the recruitment process with so many candidates; you don’t have to create a new vacancy just for the reason of creating and maintaining a website or an application. This also equals less bureaucracy that you have to go through and saving money on the expenses such as tax payments or having to sustain the position you’ve created.</p><p>Once you sign a contract with an outsourcing company, their software development team will be reachable within a very short period of time (hours, even minutes if something urgent happens). It will be also easy to <em>hop back on</em> the cooperation you’ve put on hold (because of either lack of funding or the fact that they’ve done their job and you had nothing going on for them anymore) and start a new project with the outsourced team services without any new unnecessary hiring process.</p><h3>Software development outsourcing is money efficient</h3><p>Outsourcing software development in a start-up is a great way of cutting down the costs via the already mentioned option of part-time or short-term employment. Salary is not the only ‘cost’ you come across while hiring a new employee. You have to provide them with office space, a laptop to work on, health insurance, pieces of training and many more. Moreover, choosing this way of cooperation the employer pays only for what he needs at the very time (that is, outsourcing software development may be conducted in very short dynamic periods of time — depending on your project’s needs — and continued later on in the year when you need more assistance once again).</p><p>Money efficiency also comes in the person of the very programmer himself. Thanks to the specific industry knowledge they have, they know good ways of saving their own time and your money. This can be done so via the use of specific technologies or development shortcuts, such as, respectively, React Native (which allows one to rapidly create an app for both Android and iOS with the use of one and the same code) and Ant Designs (which are ready-to-use excerpts of code that speed up the development process and cut down project’s costs).</p><p>Moreover, you may also save money on outsourcing while choosing particular areas of the world as, depending on locations, the hourly price for outsourcing software may differ to a great extent. However, you need to remember that going for the cheapest option is never the best thing you could do because together with a lower price there usually comes a worse service quality. Be clever and witty. Choose cost-effectiveness.</p><h3>Time efficiency</h3><p>Not only outsourcing companies but also start-ups and most of the other businesses strongly rely on the relation between cost and time. Thanks to saving a lot of their own time, the business owner can focus on their schedule and the more important tasks instead of having to worry about the management of the team or going through the long recruitment process. Having time for you, your firm, your employees and your client is highly vital and you should know about it best.</p><p>Moreover, while hiring an outsourcing unity you may be nearly sure that the work on your project will start rather quickly and smoothly and it is an additional pro compared to the long recruitment process.</p><h3>Great expertise</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*_cYpEoq5NxKA-3eg.png" /></figure><p>As outsourcing software development allows you to hire specialists in their very field it means that you gain access to great experience, knowledge and the latest technical novelties within the software industry. It is very important that you do some very good research beforehand and choose the company or a freelancer that perfectly suits your dream tech-stack is willing to adapt themselves or proposes another technology or framework that will suit your needs well. This is the most vital in the case of a start-up as it is really difficult to run a good race after tripping at the very beginning.</p><h3>Better equipment?</h3><p>As all the software work will be done by developers that specialize in software development they will, most likely, have the best equipment on site (this way you do not have to buy it yourself!) and the knowledge needed to complete the tasks. They will be also up-to-date with all the latest industry news and tools that may come in handy. No need to spend money for it all yourself!</p><h3>Scalability of a dedicated team</h3><p>For some people, it may be very obvious that it is very important to have some room for manoeuvre within your team as the project develops. There are so many sensitive points along the route that may lead to very dynamic changes within the project itself, its budget or the amount of work that needs to be done. During your cooperation with an outsourcing business partner, you will be provided with several professionals to choose from — the skills and benefits of each one of them will be slightly different. This way you will be able to adjust the outsourcing team exactly to the needs of your project.</p><h3>Global expertise — outsourced straight to your region!</h3><p>Offshore software development services allow people around the world to get access to a great balance of great skills or benefits and rates within one’s budget. The vast variety of choices means that one is not limited to a nearby talent pool, which is not always as good/as budget-friendly/as quick/as tech-stack friendly as somewhere else around the globe.</p><p>Thanks to outsourcing you can look beyond the geolocation restraints and gain access to skilled professionals hundreds or thousands of kilometres away.</p><h3>Good communication within the team of outsourcing software developers</h3><p>While choosing offshore software development services, you usually have at least a few professional development teams to choose from. The people outsourcing your software will be the most likely some in house employees or coworkers that have known each other for quite some time. Thanks to knowing one another well they can support each other way better than partners that have just been introduced to each other. Moreover, a well-oiled team communicates better, knows their strengths and weaknesses, can easily take care of problems or substitute other’s skills once in need. Instead of the time-consuming process of getting to know each other, they can focus on your long term goals and all the offshore benefits they can provide you with.</p><p>An additional asset is no warm-up time. A well-knit team equals no problems with the new workplace, new people, new team, new device, new technology. They only need to get familiar with you, your project and the technical documentation. Then they can sit down to their tasks straight away, splitting the outsourced tasks between the people who will know their way around them best.</p><h3>The flexibility of the outsourcing company</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*VunfFw_eHqPMng4B.png" /></figure><p>Working in a team means a great deal of flexibility when it comes to one’s skills and availability. Thanks to the possibility of working remotely, co-workers from the outsourcing team can easily help and substitute for each other in times of need. Moreover, this solution gives one great flexibility when it comes to the working hours as the remote employees do not usually have fixed working terms like most of us.</p><p>Another thing proving how much flexibility outsourcing software development gives one is the freedom of part-time employment. So, one not only does not need to create a new vacancy but also they can arrange the contract for, for example, only 15 hours a week. It allows you to reduce expenses or fix a budget hole. It also allows one to lower the amount of time the team works for one weekly or monthly, for example, when the start-up hits the low season or one has some troubles with funding. Thanks to outsourcing software development one does not have to fire anybody in such a case which makes everything easier. Your outsourcing vendor development team will be always there to jump on your project (once you found a reliable software development company, of course. For tips on how to do this jump to our <a href="https://teacode.io/blog/how-to-find-outsourcing-software-development-companies">article</a> on how to find great offshore development services and avoid the risk of low-quality code).</p><h3>Software outsourcing vs. work continuity</h3><p>Outsourcing very often prevents work interruption and unnecessary pauses caused by any personal reasons that could possibly come up. Software development companies usually have a great variety of choices when it comes to reliable developers that they delegate to your own personal team. This means that there is always someone else out there who can come in and help in terms of IT services when your “regular” outsourcing worker is ill or has to take some unexpected time off.</p><h3>To conclude…</h3><p>These are our top 10 reasons why you should outsource the software for your start-up — you can rely on them in times of need. If you are reading this, you are probably facing a very difficult dilemma are in need of making an important decision. We are having our fingers crossed for you!</p><p>And if you need any help with the topic of <a href="https://teacode.io/blog/outsourcing-software-development">software development outsourcing </a>in general, or are struggling <a href="https://teacode.io/blog/top-software-outsourcing-destinations">where to outsource software development from</a>, you should visit our blog and our <a href="https://teacode.io/blog/categories/outsourcing-software-development">software outsourcing section</a>. We hope that it will be of help to you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56cf0d147dad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/10-reasons-why-you-should-outsource-software-56cf0d147dad">10 Reasons Why You Should Outsource Software</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Software Outsourcing Destinations]]></title>
            <link>https://medium.com/teacode-io/top-software-outsourcing-destinations-50812d33cfd5?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/50812d33cfd5</guid>
            <category><![CDATA[software-outsourcing]]></category>
            <category><![CDATA[outsourcing-services]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Gabriela Adynowska]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 09:33:23 GMT</pubDate>
            <atom:updated>2021-06-07T09:33:41.068Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GET5fkUuRJ3TXClOuzCYxg.png" /></figure><p>Nowadays, to outsource software development means to be agile and use 100% of one’s potential. It allows one for great money savings, amazing gains to the team when it comes to technical skills and much more. This is why it is becoming more and more popular among various companies around the globe, which is especially true for software development outsourcing (but for other outsourcing branches as well, such as marketing or translation services).</p><p>There may be many reasons for it, such as the very little amount of experts in a certain field in one’s country or the lack of money for filling up a full-time employee vacancy. We completely understand that you can be worried that the rates will be too high or that these unknown software outsourcing engineers may mess up the quality of your product.</p><p>Hourly rates and the quality of outsourcing development services are usually highly influenced by the geographical region or the country the particular company comes from. The factors that determine higher or lower price are, for example:</p><ul><li><strong>The average level of English language,</strong></li><li><strong>Educational background of offshore developers,</strong></li><li><strong>Competition between the companies and the number of developers working in outsourcing services in a certain region or country,</strong></li><li><strong>Costs of conducting the economic activity,</strong></li><li><strong>Time zone differences,</strong></li><li><strong>The cultural approach to certain aspects of life or work.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O6kfiSkDotCs_w9Z.png" /></figure><p>These are only a few main aspects that determine the costs and quality of the offshore service. Are you wondering where to outsource software development or what countries to outsource software from? This article should be of great help to you.</p><p><em>And if you want to read more about the already mentioned factors that may affect the quality of work and the overall communication between you and your outsourcing vendor, have a look at our </em><a href="https://teacode.io/blog/pros-and-cons-of-software-outsourcing"><em>Pros and Cons of Software Outsourcing</em></a><em> article.</em></p><h3>Offshore development possibilities:</h3><p>Let’s start with what options you have. You can either go for Central/Eastern Europe, Western Europe, Central Asia, East and South Asia, North America, South America, Africa and Australia, however, some of these outsourcing destinations are too expensive to even think about. For example, outsourcing in Northern America sometimes equals even four times more money per hour for the same service conducted in Central Europe.</p><p>Of course, different locations have different cultures, educational backgrounds and the average English proficiency etc. and it affects the overall quality of the outsourced work and the cooperation with the outsourcing partner. So, for example, without any complicated analysis, one will usually guess that the service provided by India will be one of your cheapest, most affordable AND the quickest options, however, it will also usually be relatively worse than the one conducted in Australia or Europe.</p><p>As you can see, there are two sides to every coin. With certain advantages of one country chosen for outsourcing software, there may come some disadvantages. And it works both ways — there is no ultimately the best option for choosing a country for your offshore development. However, you can always go for one of the top/most optimal ones, so stay put, because now we are going to show you what are your few best options to choose from. Looking for a software outsourcing company that will give you the best quality for the relatively lowest price? Great! You’re just where you’re meant to be :)</p><h3>Top destinations for software outsourcing:</h3><h3>CENTRAL/EASTERN EUROPE</h3><p>It has been a very popular software outsourcing provider for many years. Why? This is the time of Eastern Europe’s blossom. After the times of the USSR and being far behind the whole world when it comes to the technology and programming industry it is in the 2020s when it actually managed to slowly get ahead. They have been reaching for improvement for the past several years and happily, they succeeded in providing people with the best quality-price ratio.</p><p>Eastern Europe each season gets placed around the top when it comes to higher education in the IT/tech field. There are many young bright specialists in countries like Poland or Ukraine with very good English language skills and great experience in working remotely for ‘the West’. This is why these two are widely considered the top outsourcing countries.</p><p>Eastern European prices are much lower compared to the rest of Europe or the US and many people would call them very reasonable. This, together with their skills and will to work even in the late hours should be able to make up to you even the time difference (UTC +2/+1).</p><h3>WESTERN EUROPE</h3><p>This is probably the best located geographical region for software development outsourcing. However, it is noticeably more expensive than the East even though it offers you services of very similar, if not of slightly worse quality. While the programming skills may be similar or the same, Western Europe often has worse knowledge and communicative skills in English than the countries mentioned above. Also, it is important not to forget about the living costs of the country or area you are planning to outsource software development from. In Western Europe, software developers need to pay more for both the day to day necessities as well as their education in the field of software outsourcing. This is why the overall development rates will be more or less higher than they are in Eastern European countries.</p><p>Even though both Western and Eastern/Central Europe prove slightly better in cooperation (because of much smaller cultural differences than, for example, Asia), Western Europe is more difficult to work with due to their relationship-oriented culture. If one comes from a task-oriented country, such as the US, Germany or the Netherlands it is sometimes difficult to come to an understanding. Happily, at present, Eastern Europe and its IT companies are task-oriented to a very high extent which makes the cooperation much smoother.</p><p>Overall, Western Europe is among the most balanced regions when it comes to price-quality ratio, as well as serves to you some of the best countries to outsource software development from. You should definitely have a look at it :)</p><h3>INDIA/CENTRAL ASIA</h3><p>Central Asia is a region that is certainly overshadowed by one country when it comes to offshore software development — India. It has actually dominated the whole global market to some extent as they provide more than two times more IT specialists than the rest of the world altogether. They have a really huge talent pool of software engineers who are open to outsourcing software development to any country in the world at any of the time zones.</p><p>Because of this gigantic talent pool of computer specialists and quite low living costs compared to other regions outsourcing software development in India is definitely your cheapest option. Sadly, despite the relatively ‘decent’ quality of their service, cultural differences and very often a poor level of English make the cooperation very difficult. Another drawback is an unstable political situation which makes the business and the legal side of the product development a bit risky.</p><h3>Conclusion</h3><p>The booming IT industry makes the wheel of outsourcing turn faster and faster, even though offshore software development still makes some people concerned. Every year the world faces a bigger need for programming specialists that are highly qualified (and relatively cheap) to work in the outsourcing field. Europe, with its stable political situation, gigantic talent pool and very good higher education level, has definitely taken the lead and it is home to many of the best countries to outsource from. It will, most likely, not be overtaken for a long time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50812d33cfd5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/top-software-outsourcing-destinations-50812d33cfd5">Top Software Outsourcing Destinations</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hiring Freelancers vs Software Outsourcing Companies]]></title>
            <link>https://medium.com/teacode-io/hiring-freelancers-vs-software-outsourcing-companies-ccfe622ff1dd?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/ccfe622ff1dd</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[outsourcing-software-dev]]></category>
            <category><![CDATA[outsourcing-services]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[hiring-freelancers]]></category>
            <dc:creator><![CDATA[Gabriela Adynowska]]></dc:creator>
            <pubDate>Mon, 26 Apr 2021 07:13:20 GMT</pubDate>
            <atom:updated>2021-04-26T07:13:20.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hxPpQIDf6Y8BsEiV.jpg" /></figure><p>Before you try to make a choice between a software company and a freelancer there are some things that you have to do first. Sit down and imagine what kind of app or web design you have been dreaming of. Ask yourself some basic questions about it, such as: is my project something that requires any particular skills and great expertise, such as an interactive illustration or a perfect graphic design? How complex is my vision? Do I want it to be finished within a one-off service or would I rather engage in long-term cooperation? What is my budget? Is there any time pressure?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1S3E7VgWPqpeAZJp.jpg" /><figcaption>Hire or not to hire? And whom to hire? These are the questions.</figcaption></figure><p>While building a world-class project one person will not be able to do it all for you, you would rather need a team of skilled and compatible developers that specialize in various fields and programming languages. However, having a rather small or compact project in mind, you can with clear conscience entrust a freelancer.</p><p>Even though each and every case is different, once you think through all these questions, it is much easier to make a choice. Especially so after reading our quick and painless high-level comparison and contrast of freelancers and outsourcing software companies.</p><h3>HIRING FREELANCERS</h3><h3>Costs</h3><p>Freelancers are famously known for their rather down-to-earth salary expectations. However, if your project is big and you need more people to work on it, hiring a few freelancers may turn out very expensive. And, in the case of such bigger needs on your side, hiring a freelancer — just one — may make the development process longer. And the sooner you finish your project the sooner it can be used by your clients AND the sooner you will start earning money!</p><h3>Services</h3><p>As freelancers tend to specialize in particular skills or niches, you may not always be able to find a freelancer that suits all your needs at a time. This is especially true in the case of some bigger, more complex projects. You may often need separate people to take care of the wireframes, UX, UI, Backend, etc. This, to make the long story short, means that the whole process will take more time and, overall, will end up more complex — you will have to complete a team of your own totally by yourself, having to invest in it a lot of your own time.</p><h3>Flexibility</h3><p>While hiring a freelancer we cannot really talk about a ‘team,’ which can be both a good and a bad thing. However, freelancers usually are highly flexible with their time. As private entities, they are not limited by their office hours and often can work in the evening or even on weekdays if something unexpected ever happens. You should definitely consider this while hiring someone as a contractor for an urgent software development project.</p><h3>Reliability</h3><p>Working with a freelancer, no matter how skilled, nice and friendly, you put yourself at risk of them not being there for you when you need them. Sometimes we all end up in a situation when we simply need to put our family or health first. Sadly, because of the fact that freelancers work alone, there is no one to substitute them, unlike in a team provided by a development agency.</p><p>Moreover, despite the fact that we entrust the freelancers and find their work valuable, it is still believed by some that they may vanish anyway…</p><h3>Industry trends</h3><p>As freelancers work alone, they usually are too busy to be able to track all the new technologies and programs that pop up on the market out of the blue all the time.</p><p>It is in the agency’s and company’s best interest though, to ensure that their employees get the certificates and necessary qualifications right in time to be able to provide you with the best up-to-date services.</p><blockquote>Many brilliant people possess the above-mentioned skills but cannot effectively create a world-class website on their own.</blockquote><p>Andrew Kucheriavy</p><h3>HIRING SOFTWARE DEVELOPMENT COMPANIES</h3><h3>Costs</h3><p>Software development companies are in general slightly more expensive, especially when it comes to simple projects. However, if you need to work on a bigger thing or fancy long-term cooperation, they will prove of great value for the money you have paid. It is also not a problem to have them working for you full time, unlike self-employed software developers who may have to divide their time between two development services. A software development company will usually have project managers of their own — willing to help with keeping up with the schedule and not exceeding the costs — and the whole team ready to work for you, share their expertise and fix any issues you may come accross.</p><h3>Services</h3><p>Such outsourcing software development companies tend to rely on teamwork to a huge extent. It is of great importance when you want your project to be delivered quickly, smoothly and to be perfectly polished. They share their knowledge within the team — how to fix bugs, what solution to choose for a particular problem, how to decrease the overall cost of development and maximise the benefits for the users and many more. This is a giant advantage of software development companies that allows them to specialise and provide services in different fields of software outsourcing.</p><h3>Flexibility &amp; replaceability</h3><p>Working in a team means a great deal of flexibility when it comes to one’s skills and availability. Coworkers can easily help and substitute for each other in times of need.</p><p>Sometimes the main drawback of choosing development agencies lies within the fixed working hours, traditionally 8 am to 4 pm. Happily, the very most modern companies have recently changed that system to suit the needs of their clients and give their employees more of a choice. Thanks to that, contact with an offshore software development company during your working hours will not be an issue anymore.</p><h3>Support &amp; continuity</h3><p>A great side of cooperating with software development companies on a bigger project is, for example, receiving feedback on your app with somebody running tests throughout the whole period of your cooperation, which will allow you and your hired developers to improve the project on the way and in the future (during further maintenance). Another nice ‘pro’ is the possibility of being assigned a project manager who will oversee the whole process and make sure that everything is done on time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k9-FGJyuxLpwSt_9.jpg" /><figcaption>Hiring a software outsourcing company comes with a great dose of assets!</figcaption></figure><p>Unlike freelancers, agencies focus on keeping their clients ‘aside’ for a longer period of time and, what is more important, — happy. Why? It is simply more beneficial for both sides, a full cycle of software development, together with business analysis, further professional maintenance and care of your idea is something that makes you and them happy. You will not have to waste time introducing a new team of software developers to your project and documentation and the software company will have a happy client and income continuity.</p><h3>Readiness &amp; time saving</h3><p>While hiring someone from a development agency you can be sure that the work will start quickly, usually within 2 days. You save a great amount of time on reading applications and interviewing people that may not be even qualified for the job. Just take a look at a few already prepared for you inside-CVs of professional developers of this particular software development company you choose. You can be sure that each and every person you are being offered is reliable, has great expertise and have proven themselves many times.</p><h3>To conclude…</h3><p>It is necessary for you to remember that each case is different and that there is no right or wrong choice. Both hiring a freelancer or an outsourcing software company means a great dose of assets but sadly, both of these options also come with a certain amount of risks. You should weigh the pros and cons thoroughly and see which kind of cooperation (with freelancers vs software development companies) better suits your needs so that you easily reach your advancement goals and get the best software with no legal issues and with great hourly rates.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccfe622ff1dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/hiring-freelancers-vs-software-outsourcing-companies-ccfe622ff1dd">Hiring Freelancers vs Software Outsourcing Companies</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Your Tensorflow.js Model Using AWS Lambda]]></title>
            <link>https://medium.com/teacode-io/deploy-your-tensorflow-js-model-using-aws-lambda-31b1757254e2?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/31b1757254e2</guid>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tensorflowjs]]></category>
            <category><![CDATA[devops-and-mlops]]></category>
            <dc:creator><![CDATA[Paweł Pierzchlewicz]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 10:18:18 GMT</pubDate>
            <atom:updated>2021-04-08T10:22:29.353Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8MVEUDViDoKBWLukx3xYw.png" /></figure><p>At <a href="https://ghost.teacode.io/p/57a79fe5-051c-4ec5-9b08-bd9e3a2c9f62/Teacode.io">Teacode.io</a> we need to bring ideas to production as soon as possible. Now, we live in the age of machine learning, and building machine learning models is a fascinating task. However, it is meaningless if you cannot bring it to production. Thankfully Amazon Web Services (AWS) comes to the rescue with its lambda functions allowing for cheap and easy deployment of your TensorFlow models. Regardless of whether you are building machine learning models or you want to integrate them with your app, this article is what you are looking for.</p><p>We will look at the essential steps of deploying your machine learning model to production.</p><ul><li>Converting your Keras model into a Tensorflow.js model.</li><li>Setting up your model using S3.</li><li>Performing inference using your model and AWS Lambda.</li><li>Setting up an API to use your model anywhere!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/0*5k3vfHmDQVJnA8zv.png" /><figcaption>Tensorflow Graph Model</figcaption></figure><h3>Why Tensorflow.js?</h3><p>AWS Lambda has a 50Mb limit on the size of the function. Thus you have to be wary of how big your handler method is, and this is where Tensorflow.js fits in perfectly.</p><p>Tensorflow.js is a lightweight alternative to its fully-fledged big brother. It was built with memory efficiency in mind. As a result, it is a small 30Mb deep learning library capable of running any model.</p><h3>Training a simple neural network</h3><p>We will train a super simple neural network as a toy for the remainder of the article. However, you can replace the model we use here with any model you like!</p><p>We are training a linear regression model with one linear unit in a single dense layer and without an activation function. For training, we will use data from a line with a slope of 2 and an intercept of 5.</p><ul><li>The code below is prepared to be run in a jupyter notebook. I would suggest you use Google Colaboratory. You can go directly to a preset Colaboratory notebook by clicking this <a href="https://colab.research.google.com/drive/1B7tHGvTbbt0KWYpKD_GbghweC0GtiSm2?usp=sharing">link</a>.</li></ul><pre>!pip install --quiet tensorflowjs</pre><pre>import tensorflow as tf<br>from tensorflow.keras.models import Sequential<br>from tensorflow.keras.layers import Dense</pre><pre>import tensorflowjs as tfjs</pre><pre># Set seed for reproducibility<br>tf.random.set_seed(1)</pre><pre># Setup toy data<br>X = tf.range(-5, 5, 0.1)<br>Y = 2 * X + 5</pre><pre># Create a simple model with 1 Linear unit in 1 Dense layer<br>model = Sequential([<br>        Dense(units=1, input_shape=[1])<br>])</pre><pre># Use stochastic gradient descent and mean squared error<br>model.compile(optimizer=&#39;sgd&#39;, loss=&#39;mse&#39;)</pre><pre># Fit on the toy data<br>model.fit(X, Y, epochs=100, batch_size=8, verbose=0)</pre><pre># Sanity check that the model has successfully trained<br>slope, intercept = [w.numpy().squeeze() for w in model.weights]</pre><pre>print(&quot;True Model: 2.0x + 5.0&quot;)<br>print(f&quot;Fit Model:  {slope:.1f}x + {intercept:.1f}&quot;)</pre><pre># Save the model<br>MODEL_DIR = &#39;./js_model&#39;</pre><pre>tfjs.converters.save_keras_model(model, MODEL_DIR)</pre><p>Once you run the cell with the code you should get the following output.</p><pre>[...]<br>True Model: 2.0x + 5.0<br>Fit Model:  2.0x + 5.0<br>[...]</pre><p>If that is the case, then our toy model has trained successfully! However, the final couple of lines, where we save the model, are the most important in this example.</p><pre># Save the model<br>MODEL_DIR = &#39;./js_model&#39;</pre><pre>tfjs.converters.save_keras_model(model, MODEL_DIR)</pre><p>This saves your model to a Tensorflow.js readable format which you can use in a Lambda function. There you should be able to find all of the necessary files in the <em>./js_model</em> directory. There will be two types of files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/0*rXA4pzmM9NToYyAx.png" /><figcaption>Files needed for AWS pipeline</figcaption></figure><ol><li>model.json — this file contains the information necessary to rebuild your model.</li><li>shards — these contain the data about the weights of your model, and there can be multiple shards.</li></ol><p>Download these files. We will use them to build the AWS pipeline.</p><h3>Alternatively, you can use a pre-trained model</h3><p>You might be in a situation where you will already have a pre-trained model. In that case, you can just convert the model directly. To do this call the line below, and you will get the same set of files as in the original example.</p><pre>tensorflowjs_converter --input_format=keras {PATH_TO_MODEL} ./js_model</pre><h3>Create a new S3 bucket</h3><p>The next step on our journey is to set up a new S3 bucket. <strong>Store the bucket name as it will be necessary later on</strong>. To keep this article simple set everything to public, you can adjust the permissions to your needs at a later time. Once your bucket is created upload all of the files that were generated in the <em>./js_model </em>directory (model.json and shards) and permit everyone to read these files (for this you will have to go through each file’s permissions separately). <strong>Make sure the permissions are correct</strong>. Otherwise, the inference might fail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jhlbkp19_ezr2fcd.png" /><figcaption>S3 bucket setup</figcaption></figure><h3>Create the Tensorflow.js handler</h3><p>Now that the model is setup you can setup the inference function that is to be used by AWS Lambda. First, let’s create a new javascript project by running:</p><pre>npm init</pre><p>and then install Tensorflow.js by calling the following</p><pre>npm install <a href="http://twitter.com/tensorflow/tfjs">@tensorflow/tfjs</a></pre><p>Now that the project is all set, create an <em>index.js </em>file with the code below.</p><pre>const tf = require(&#39;<a href="http://twitter.com/tensorflow/tfjs">@tensorflow/tfjs</a>&#39;);</pre><pre>exports.handler = async (event) =&gt; {<br>  bucketName = &#39;&lt;your-bucket-name&gt;&#39;</pre><pre>const MODEL_URL = `<a href="https://${bucketname}.s3.amazonaws.com/model.json%60">https://${bucketName}.s3.amazonaws.com/model.json`</a></pre><pre>const model = await tf.loadLayersModel(MODEL_URL);</pre><pre>let x = parseFloat(event.x);<br>  input = tf.tensor([x]);</pre><pre>const result = model.predict(input);<br>  const y = (await result.array())[0][0];</pre><pre>return {<br>    statusCode: 200,<br>    body: JSON.stringify(y)<br>  };<br>};</pre><p>S3. Note that you are only providing the path to <em>model.json</em> and not all of the shards. The function <em>loadLayersModel </em>is smart enough to use the data in <em>model.json </em>to locate the shards. Then we parse the input data from the event into a TensorFlow tensor (a TensorFlow “array”), which we can then pass to the model for inference. Finally, we can get the response in the form of an array and return it as a response.</p><h3>Zip your project</h3><p>AWS Lambda expects your project as a zip file. This means you will need to zip both the node_modules and the index file. This should create a zip file that is around 30Mb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/0*YE0wZd_MK57V0-nx.png" /><figcaption>AWS Lambda necessary files</figcaption></figure><p>You can then upload the zip file to your S3 bucket. Once it is done uploading store the Object URL as we will use it later.</p><h3>Create an AWS Lambda function</h3><p>Now we are ready to create our lambda function. Navigate to AWS lambda and click <strong>create function</strong>. Give it a meaningful name and make sure that the node.js runtime is selected. Then click on the <em>upload from</em> dropdown and select Amazon S3. Paste the object URL of the zip file you uploaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M84s3lZilISZEHP_.png" /><figcaption>Lambda function overview</figcaption></figure><h3>Set up an API Gateway</h3><p>Now that your lambda function is up and ready, we still need to set up an API to invoke the function remotely. Click on the <strong>Add trigger</strong> button and select the API Gateway from the dropdown list. Next select create new API and mark the REST API. Finally, set the security to Open (at least for now). Your final setup should look something like the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q-8TcgwQmzBQVOyS.png" /><figcaption>API setup</figcaption></figure><p>Add the API and navigate to it. Under Resources/ANY/Method Execution, click on Integration Request and uncheck <em>Use Lambda Proxy integration</em>. Now the <em>Mapping Templates</em> should become available. Create a new mapping template of type <em>application/json</em>. Set the template to map the input to <em>x</em>.</p><pre>{<br>    &quot;x&quot;: $input.json(&#39;$.x&#39;)<br>}</pre><h4>Test your API</h4><p>And you are done! You can test the model by going back to method execution and clicking test. Select the POST method with the body:</p><pre>{<br> &quot;x&quot;: &quot;10&quot;<br>}</pre><p>You should get something like the following response.</p><pre>{<br>  &quot;statusCode&quot;: 200,<br>  &quot;body&quot;: &quot;24.999988555908203&quot;<br>}</pre><h3>Conclusion</h3><p>We have gone through the journey of deploying a simple machine learning model. Hopefully, you found a new appreciation for Tensorflow.js with AWS Lambda and have new ideas as to how you can integrate this in your data science projects.</p><p>As a result, you now should have no excuse to not show off your machine learning models in the real world. It should come to you with no additional effort to apply this to any Tensorflow model you might want to use!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31b1757254e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/deploy-your-tensorflow-js-model-using-aws-lambda-31b1757254e2">Deploy Your Tensorflow.js Model Using AWS Lambda</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Outsourcing for Start Ups — Frequently Asked Questions]]></title>
            <link>https://medium.com/teacode-io/software-outsourcing-for-start-ups-frequently-asked-questions-1941859163ee?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/1941859163ee</guid>
            <category><![CDATA[startup-solutions]]></category>
            <category><![CDATA[outsourcing-software-dev]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <dc:creator><![CDATA[Gabriela Adynowska]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 14:20:13 GMT</pubDate>
            <atom:updated>2021-02-16T14:27:34.003Z</atom:updated>
            <content:encoded><![CDATA[<h3>Software Outsourcing for Start Ups — Frequently Asked Questions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5aUo2Aq-K1ippNhG.jpg" /></figure><h3>What is a start-up?</h3><p>This is the best question to start with as, of course, it is not obvious to all. A term <em>start-up</em> usually refers to an entrepreneur company at the first stage of its development aiming at promoting a new product or unique service. It is very often initially funded by the private money of the families, friends and the owner himself.</p><p>In simple terms, a start-up is a unique contemporary business, usually quite small and without a team of developers of their own. Nowadays, most of these companies are based on the Internet in many ways, as usually, when you want to sell your product successfully you will need a website with features enabling transactions, smooth payments, communication with your client and many more. Recently it became even more popular for the business owners to add to all the mentioned features also a mobile app which will improve the whole process and make it more pleasurable for your clients. And this is exactly what outsourcing software developers will do for your start-up. They will take care of the technical side of your idea (website, app etc.) and will make it look just like you have imagined it. They will take care of your intellectual property with quality assurance. And moreover, you will not have to create a development team of your own (in house team usually comes with greater expenses — you should see our article on <a href="https://teacode.io/blog/pros-and-cons-of-software-outsourcing">Pros and Cons of Outsourcing Software Outsourcing</a> to find out more about these costs).</p><p>So, if you have a concept for a great app that will make your business grow or if you are in need of a website enabling you to do the same thing, software outsourcing for a start-up may be just for you.</p><h3>Why is it necessary to consider outsourcing software development in a start-up?</h3><p>In order to achieve all the stages of the app or web development with no unnecessary time loss or pain of having to learn and do it oneself, one should hire a skilled in this field team of developers and designers to do custom software development for them. Probably the biggest advantage of development companies is that you can partner with them for long term cooperation or for a one-time run. It is very important as not only your requirements are met (with a product that is developed by people with great experience and expertise), but also you and your assumed co-founder have the freedom of ending the cooperation after the end of the agreed fixed-time contract or the project itself.</p><p>It is not easy to learn web development or programming from scratch. We know about it very well as all of us have been mastering it for years. Especially in the case when you want your project to be of outstanding design and have some more advanced features you should seriously consider hiring someone from the outside. We promise that it will pay you back in the future with an outstanding product.</p><h4>Moreover, outsourcing software development in a start-up allows you to:</h4><ul><li><strong>reduce the costs of software development</strong></li><li><strong>reduce your worries and responsibilities</strong></li><li><strong>open the doors to new cutting-edge technologies</strong></li><li><strong>be more flexible</strong></li><li><strong>and more!</strong></li></ul><p>In our <a href="https://teacode.io/blog/pros-and-cons-of-software-outsourcing">Pros and Cons of Software Outsourcing</a>, we have analysed all the mentioned advantages of outsourcing development in detail. Make sure to have a read!</p><h3>What are the stages of developing a start-up application?</h3><h4>Developing and solidifying your idea</h4><p>Once you have this unique concept in your mind, you need to find out if it is possible to make an app or a website out of it. How to do it? You either have to do some online research yourself or simply talk to software developers. It is actually a good idea to contact a development company directly so that you can start a fruitful cooperation straight away. Your outsourcing partner will be able to provide you with their expertise and tell you about some possible solutions at once. The vendor will help you to choose the services and technologies that will suit your needs well, making sure that the overall cost is right and that you will make it within your time limit.</p><h4>Planning the app</h4><p>This stage includes all your ideas being put down on paper. The developers need all the facts about how you want it to look like, what features you want to implement AKA you need to plan frontend. It means some wireframing and creating first mockups and quality designs. The software development company will yet again be here of great help for your business. They know the possibilities of code, needs of particular projects and the startup market, which is really convenient for companies like yours.</p><h4>Seek funding</h4><p>If you do not have a sponsor at this stage of development yet and you do not seem to have enough money for your contribution you may want to seek funding. There are millions of ways to do that. We have to warn you, though, that it is not too easy but still, it is doable, especially for the entrepreneurs. However, it is all down to you whether you will actually find it.</p><p>If this fails, you also have a choice of bank loans, professional investors, services that specialize in start-up help and many more. (By the way, the article on how to find funding for your start up is coming soon!)</p><h4>Planning the UX…</h4><p>This is the wireframe, also known as <em>screen blueprint</em>, and it is nothing else than a clear visualization of a website or a web app. In a start up, it is necessary for good understanding and communication with the developers. It makes it easier for you to describe how exactly you want everything to look like and work, what essential features need to be there or how exactly your client will be interacting with your project. As here you need to plan basically all the functions of both frontend and backend, it may actually be the most vital stage.</p><h4>… and designing the UI</h4><p>This is the moment when you need to plan the exact UI, that is, <em>user interface</em>. It may be counted as the part of planning the wireframes too. You need to take care of the very look of your project so that it is pleasing to look at and amusing to use. Remember that the looks are very important for the most of the users as they do not wish to spend too much time using an ugly app. So, it needs to look good and feel good. You need a logical and smooth transition between screens and buttons so that everything is intuitive and nice. Moreover, usually the more professional and neat an app looks the more faith and trust people have toward it.</p><h4>Rethinking</h4><p>This is an optional point, yet I would actually say that it is vital for proper app development. It may come together with the process of showing it to people you trust or talking about it with them in order to receive some feedback. Once you get some fresh opinions you will be able to implement necessary changes (if there are any) and this will ensure your project going onto the higher level.</p><h4>Starting development</h4><p>Once you know how you want your app to look like you can move to letting your developers work. The outsourcing company will usually take care of both the frontend and the backend and you will be needed mainly to control the progress of the project and make vital decisions.</p><h4>Testing</h4><p>This is a very important part of the whole process as no one wants to deploy a dud app or website. And that’s why it is vital for you and your team to run several tests on your <em>newborn coded baby</em>. Whether it is done by the developers, you or your family (automatically or manually) it is just something you simply cannot miss.</p><h4>Deployment &amp; marketing</h4><p>While deployment is mainly down to your developers, the marketing is something that you have to be very much more involved with. You may actually start with it much earlier so that all of your ‘coming soon’ actions nicely tease the public. It is good to think about an advertising strategy or even consider hiring a third party to do it for you.</p><h3>What technologies to use with a start-up?</h3><p>It is necessary for a start-up to choose the fitting technology in order to allow your business to grow. To make it all easier for you we will divide it all into two categories — Backend Tech Stack and Frontend Tech Stack. They both create the app or website as a whole and are usually run by HTML, CSS and Java Script.</p><h3>What programming language to use with a start-up?</h3><p>It is a very difficult question to answer properly as each developer will tell you a different thing. In fact, programming languages tend to divide people around the world as there are better and worse ones but there is no universally best one. This is why it is so much down to personal preferences and overall circumstances of your project.</p><p>Usually, the most commonly used and the most efficient programming languages chosen for both mobile applications and web apps are JavaScript, Java and Python. However, business owners also choose C#, C or C++ solutions for their development process.</p><p>Even though we also share a belief that the language does not matter as long as you get yourself some <em>good developers</em>, it is important to note that with each language there are certainly many good and bad sides that come with — so stay tuned in order to find out more!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1941859163ee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/software-outsourcing-for-start-ups-frequently-asked-questions-1941859163ee">Software Outsourcing for Start Ups — Frequently Asked Questions</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set Up Stripe Payments in Feathers.js]]></title>
            <link>https://medium.com/teacode-io/how-to-set-up-stripe-payments-in-feathers-js-2c83e2426bc0?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/2c83e2426bc0</guid>
            <category><![CDATA[stripe]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[feathersjs]]></category>
            <dc:creator><![CDATA[Paweł Pierzchlewicz]]></dc:creator>
            <pubDate>Sat, 30 Jan 2021 12:07:46 GMT</pubDate>
            <atom:updated>2021-01-30T12:07:02.805Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YPc_Azx13hhvvi4bxC6gVQ.jpeg" /></figure><p>Automated payments are fundamental to scale any tech startup. That is why at <a href="https://ghost.teacode.io/p/b75b7310-b786-410d-a783-8a02b046c3ea/teacode.io">Teacode.io</a>, we established a flow for delivering <a href="https://stripe.com/">Stripe</a> payments to your product faster than ever. In this post, I will explain this flow to you, so that you can incorporate it to your app as well. First, we will explore the Stripe API and then we will discuss how it fits in with the <a href="https://feathersjs.com/">Feathers.js</a> framework.</p><h4>Stripe Installation with NPM or Yarn</h4><p>You can install stripe using your favourite package manager (npm or yarn). It is as simple as running the following commands in your console.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/855ed65d0bfab82c9cf7b0cc675be6a8/href">https://medium.com/media/855ed65d0bfab82c9cf7b0cc675be6a8/href</a></iframe><h3>Stripe API</h3><p>Stripe is the industry standard for automating payments. It provides you with an API, which removes the burden of managing your clients’ sensitive data. We have to first get familiar with some key concepts before we can start integrating Stripe, as a Feathers service, with our app.</p><h4>Customers</h4><p>The name of this object is rather self-explanatory. A customer is equivalent to your user; this will be the object you refer to when communicating with the Stripe API.</p><h4>Invoices</h4><p>These are created by Stripe for the customer as statements of the amount that is owed to you. They can be generated one-off or in a periodic fashion. These are important to you as they are the actual means through which the customer executes a payment.</p><h4>Subscriptions</h4><p>Stripe uses this object manages recurrent payments that include paying an invoice via generating periodic ones. It takes away the problem of remembering to invoice your customer regularly. It is assigned to a customer.</p><h4>Plans</h4><p>This is an object which resides at a higher level than subscriptions supported by Stripe. It tells Stripe how the app should generate a subscription. Such cases include paying both a yearly or a monthly subscription for your product. This would be carried out by creating two plans: monthly and annual. When a customer selects a plan, a subscription will be generated using the plan object’s information.</p><h4>Events</h4><p>Stripe uses these to inform you about anything important that has happened. For example, it will notify you when a payment fails, allowing your app to act accordingly. This is carried out using webhooks.</p><h3>Integrating with Feathers.js</h3><p>Having the Stripe API’s basic concepts spelt out, we can now dive into the integration with Feathers.js. We will begin by looking at how we can turn our clients into customers, but before we dive in, we first need to set up the <em>stripeClient</em>.</p><h4>Stripe Client</h4><p>To set up the Stripe Client, we create a new file called <em>stripe.js</em> in the <em>src.</em> The content is as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff4d493a46cdd3ac499848ca9293f8e0/href">https://medium.com/media/ff4d493a46cdd3ac499848ca9293f8e0/href</a></iframe><p>This will set up your stripe client using the stripe config you have defined, which is then called from your <em>app.js</em> as a configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/94738e2958ff97a9116542d4a14538ab/href">https://medium.com/media/94738e2958ff97a9116542d4a14538ab/href</a></iframe><p>Now with this setup, we can start building the payments system!</p><h4>Turning clients into customers</h4><p>From the client model view, this is relatively simple. We need to add two new fields to our already existing user schema: the <strong>customerId </strong>and <strong>subscriptionPlanId</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f296151dda855d4e7134a9c94bf907a4/href">https://medium.com/media/f296151dda855d4e7134a9c94bf907a4/href</a></iframe><p>Note that the subscriptionPlanId is set to be required. Whether the customer is supposed to pay or not, you want to have a subscription associated. This allows for easier transitions between subscriptions later on.</p><p>Now with the model setup, we want to add some logic to it. Let’s create a <em>createStripeCustomer</em> hook function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/85e88a772044d9404da9be603a1cb683/href">https://medium.com/media/85e88a772044d9404da9be603a1cb683/href</a></iframe><p>For this function, we extract the email that the user-provided on signup and the assigned _id. We create a customer using the <em>stripeCustomers</em> service that we will define a bit later on. Then we patch the client that we just created with the customerId. In the case that something fails we remove the entire user and return the error. This function is then attached to the clients <strong>create.after</strong> hook.</p><p>The following services are supported by Stripe as well:</p><h4>Stripe Customer</h4><p>Now let’s look at the stripe customer service. We have a dedicated model for storing information about the customer. The schema is defined as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/15441724e254a4d5949eb027ef11664c/href">https://medium.com/media/15441724e254a4d5949eb027ef11664c/href</a></iframe><p>Here we store a copy of the customer object from Stripe. For this service, we also define a <em>createStripeCustomer</em> hook function. This function is purely responsible for sending over the required information to Stripe to create a Stripe customer.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4387cd2ee7223211e14b4470ff510373/href">https://medium.com/media/4387cd2ee7223211e14b4470ff510373/href</a></iframe><p>You then want to save the result of this request in your <em>stripeCustomers</em> service. In case this fails, remove the <em>stripeCustomer</em>. You are patching the <em>stripeCustomer</em> results in running the <strong><em>after.patch</em></strong> hook, where two methods are present: <em>createTaxId</em> and<em> updateStripeCustomer</em>. First, we will have a look at the <em>createTaxId</em> method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/183405fc726c60619a15008f7f7887af/href">https://medium.com/media/183405fc726c60619a15008f7f7887af/href</a></iframe><p>To create the <em>taxId</em>, we pass the data from the request and send it to stripe using the <em>stripeClient. </em>If the <em>taxId</em> is not present, but it was there earlier, we want to make sure that we remove it from the stripe by calling <em>deleteTaxId</em>. The <em>updateStripeCustomer</em> hook passes all the data that has changed to the <em>stripeClient</em> and requests an update.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/14a5229c3d00abf88fd981fb44405803/href">https://medium.com/media/14a5229c3d00abf88fd981fb44405803/href</a></iframe><p>Finally, for the customer service, we need to handle deleting the customer. This is done on an <strong><em>after.remove</em></strong> hook. This method is relatively straightforward since for removal just the id is required.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1aaa81c1b125b07c6e8315b9701c0433/href">https://medium.com/media/1aaa81c1b125b07c6e8315b9701c0433/href</a></iframe><p>Thus the hooks for the <em>stripeCustomer</em> can be summarised as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2e542247d4a13de032afc6bdd7422e0a/href">https://medium.com/media/2e542247d4a13de032afc6bdd7422e0a/href</a></iframe><p>This concludes the customers part. Now we can move on to some more exciting details, which are the stripeEvents!</p><h4>Handling Stripe Events</h4><p>As mentioned at the beginning Stripe Events are how Stripe send information to your app. The model for this service is pretty simple.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b9e711c2014e87bee5abdf18dd94338e/href">https://medium.com/media/b9e711c2014e87bee5abdf18dd94338e/href</a></iframe><p>We only store a generated id for this event, making sure that we don’t process the event more than once. This service has only one hook on <strong><em>after.create</em></strong>. There we create an <a href="https://github.com/agenda/agenda">Agenda</a> job, which is a lightweight job scheduling library. Using a job scheduler allows you to quickly respond to the webhook and leave the event’s processing to some later time when the app has some free resources.</p><h3>Agenda Processors</h3><p>We define the agenda jobs as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/06ed50ff91ba39cc0576b5fc8067d5eb/href">https://medium.com/media/06ed50ff91ba39cc0576b5fc8067d5eb/href</a></iframe><p>Here for each event, you define a processor. Here we will look at the most basic three processors that you will need to get yourself going. Let’s define an <em>events/index.js</em> which contains a mapping from stripe events to the processor methods.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/955863e303d54211bf2afbf6931a49cd/href">https://medium.com/media/955863e303d54211bf2afbf6931a49cd/href</a></iframe><p>These processors manage three types of events. The success of a payment, updating a customers subscription and deleting a customers subscription. When such an event is sent to you from Stripe, Agenda will create a job with the corresponding processor, and it will be queued for later. Let’s now look at the payment succeeded processor.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b2300a9afe6b21c9b89c44c238214e5e/href">https://medium.com/media/b2300a9afe6b21c9b89c44c238214e5e/href</a></iframe><p>The function above first verifies that all the necessary data is provided if everything is ok. The user’s <em>accessExpiryDate</em> is extended to a later period. If the user fails to pay, the <em>accessExpiryDate</em> is not updated and thus the access is revoked. The app can similarly handle the remaining events.</p><h3>Conclusion</h3><p>This concludes the process of setting up payments using Stripe.js in Feathers.js. We have explored the Stripe API’s key concepts and looked into how they can integrate into the Feathers.js framework. Using this approach, it is straightforward to allow automated payments in your app, allowing you to scale faster! Be witty and for the payment service use the best Feathers service for Stripe!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c83e2426bc0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/how-to-set-up-stripe-payments-in-feathers-js-2c83e2426bc0">How to Set Up Stripe Payments in Feathers.js</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From idea to product — creating an app]]></title>
            <link>https://medium.com/teacode-io/from-idea-to-product-creating-an-app-2b85eba41bed?source=rss----29960fd47e5a---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b85eba41bed</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Gabriela Jarzębska]]></dc:creator>
            <pubDate>Mon, 23 Nov 2020 09:22:08 GMT</pubDate>
            <atom:updated>2020-11-23T09:49:02.695Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Idea to Product — Creating an App</h3><figure><img alt="idea" src="https://cdn-images-1.medium.com/max/1024/0*tlZ_zvSoc0o0v3Tl" /></figure><p>Creating an app is a long and complicated process. People often think that the idea is enough, however, there are a few steps between it and the product that can’t be skipped and can determine whether your app will be successful or not.</p><p>Before even talking to software developers you need to define certain things about your app or website and its potential users. First few things to do with your UX designer are:</p><p><strong>Model User Personas</strong> — take some time to figure out what kind of people will be the app created for. When you know who they are, try to define the relationship between the users and the app:</p><ul><li>Why are they going to use the app?</li><li>What do they want to get from using the app?</li><li>How (where, when, how often) are they going to use the app?</li></ul><figure><img alt="user persona" src="https://cdn-images-1.medium.com/max/1024/0*TqHqg98CcCMrjW0A" /></figure><p><strong>Define Functionalities</strong> — you should be able to tell what is the main functionality of your app (there shouldn’t be more than one, in some specific cases two main functionalities). It is also important to know what additional functionalities the app is going to have. Write them down in order — from the most to the least crucial.</p><p><strong>Write down your project’s mission</strong> — you already know for whom you are creating the app, what it is going to do and what is its main purpose, now try to sum it up in one sentence. How is your app going to change in the world, why is it worth creating?</p><p>You should remember that knowing the purpose of their work and having faith in the product’s success the developers will work more efficiently as it increases their inner motivation. When the product is defined, it’s time to start the prototyping process. We create the prototype to avoid any misunderstandings between you and the developers. Remember to always check if the prototype you create is consistent with your mission — if not, reconsider the prototype or update the mission.</p><figure><img alt="prototype" src="https://cdn-images-1.medium.com/max/1024/0*fJUAx2q8XAjRnlVi" /></figure><p><strong>Plan screens and user flow</strong> — it’s a good practice to write down all the screens needed in your app and create the user flow. It helps you decide whether the screen is needed and you shouldn’t forget about anything in the further prototyping process.</p><p><strong>Design wireframes</strong> — wireframes are colourless sketches of every screen. Their main purpose is to define the elements and their functions. At this point it is crucial to remember about a couple of things:</p><ul><li>use accurate sample data — all the texts, tables and graphs in your first wireframes should be relevant. You can modify them later, but cannot change entirely their type or structure. If you plan some images you don’t need to choose them now, but define what they are supposed to show.</li><li>At this point, you should think of reusable elements, for example when creating a header consider if it should be the same in every use case, or should there be several versions of it.</li><li>give early feedback — when someone is creating the wireframes for you it is crucial to talk with them and discuss their work as often as possible. Thanks to early feedback every mistake can be fixed quickly. Such immediate changes won’t impact other parts of the job.</li></ul><figure><img alt="plan" src="https://cdn-images-1.medium.com/max/1024/0*6EVvYgttvE8GjB9r" /></figure><p><strong>Create full designs or high fidelity prototypes</strong> — if you want your app to have a custom design it is a moment to hire a professional designer who, based on your wireframes, can create a visual version of your product. If you want to use some predefined UI library (like ant-design or material-UI) there is no need to create full designs. You may just colour and prettify your wireframes a bit. Anyway, it is a good moment to select the pictures, icons, colours, fonts and other styling features.</p><p>At the end of this whole process, you should have a well-specified mission and a prototype with graphic specification and well-defined functions — there shouldn’t be any button left without explanation. Now it’s time for the project manager to plan the tasks and milestones for the whole project. Then your team should draw the projects and database structures, and yes — they can finally start the development.</p><figure><img alt="launch" src="https://cdn-images-1.medium.com/max/1024/0*jYKy3zksMxXSToAH" /></figure><p>I know it all can sound a bit complicated, and as you probably noticed it requires several people to help you with the whole process. You might think now: ‘Where will I find the UX designer, UI designer and everyone else?’. No worries. Companies like <a href="https://teacode.io/">Teacode</a> provide you with end-to-end support with planning, development and maintenance of the project, so just share your idea with us, and then you can drink tea and relax and we will take care of everything.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b85eba41bed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/teacode-io/from-idea-to-product-creating-an-app-2b85eba41bed">From idea to product — creating an app</a> was originally published in <a href="https://medium.com/teacode-io">TeaCode.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>