GitHub is now offering Unlimited private repos for free

GitHub is now offering Unlimited private repos for free. From a recent update on January 7th, 2019, Github announced a big change in their main offerings for developer and enterprise accounts.

Continue reading “GitHub is now offering Unlimited private repos for free”

Statically typed Javascript : Why and How

In the last months I have found good experiences using Statically typed Javascript. For example, using React with Typescript. It helps a lot to build a robust Web development, with statically typed Javascript support, ready for a complex and enterprise-level projects.

TypeScript is maintained by Microsoft, but it’s not the only option for statically typed Javascript. Flow, from Facebook and Dart from Google are similar options among a long list of implementations.

Why so many “big companies” are doing really big efforts to introduce static typing in Javascript development in the last years?

Continue reading “Statically typed Javascript : Why and How”

Build a REST API with Node.js SQLite and Express JS

In this guide you can build a REST API with Node.js SQLite and Express.js. Then, in a next part, we will be building automated Unit tests using Mocha and Chai, ready for a Test-Driven Development (TDD).

The main components of this REST service are:

  • A Node.js base project, created as a NPM module
  • An Express.js web server to manage the API endpoints, requests and responses
  • A SQLite database for application storage

Continue reading “Build a REST API with Node.js SQLite and Express JS”

Deploy your Applications in Heroku

In this post we will learn how to deploy your web applications in Heroku, for free. Heroku is a Cloud Platform-as-a-Service (PAAS). This company provides the base platform server, network resources and endpoints to publish your applications. However, you need to provide the application code and the rest is created automatically for you.

Sometimes, we need to test or showcase a quick prototype of a cloud based web application, REST API backend , or a static web application client. Heroku is a good solution to quickly host application at no cost. For example, they support the most popular languages and frameworks like Node.js, Ruby, Python, Java, PHP, Go, Scala, Clojure.

The general steps to deploy your application are:

  1. Register in the Heroku platform
  2. Install the Heroku CLI
  3. Login locally to Heroku
  4. Create your application and store it in a Git repository
  5. Configure your application for Heroku deployment.
  6. Register your application in Heroku
  7. Associate your git repository with your Heroku app
  8. Push your application to the Heroku application master repository
  9. Access your application from https://your-app.herokuapp.com

Continue reading “Deploy your Applications in Heroku”

Using Database models in Python and Django

After creating your Django web application, you can start using Database models in Python and Django. There are the main steps to get your models and application working with a Database.

  1. Create new models for data processing
  2. Adding your models to the admin interface
  3. Playing with your models to create, edit, filter and delete information
  4. Upgrading your models with new attributes and methods
  5. Integrating data in your application.

In this guide, we continue from the previous post Web Applications using Python and Django.

Continue reading “Using Database models in Python and Django”

Implement Push Notifications in iOS with Swift

In this post we implement Push Notifications in iOS with Swift. Actually, this process is easier than before, with only a small set of steps:

  1. Activate Push notifications in your iOS project
  2. Request permissions for User notifications
  3. Register in Apple Push Notifications service
  4. Sending Test notifications
  5. Handling Notifications in your app

Continue reading “Implement Push Notifications in iOS with Swift”

Web Applications using Python and Django

In this post we will Create Web Applications using Python and Django.

When it comes to web development back-ends, there are many alternatives, from PHP, Java and C# to GoLang and RubyPython also has many options to implement a powerful web application service. One of the most used web frameworks is Django.

Django provides a full featured web development framework, and automated tools for a straightforward development. In this post we create a full featured basic web applications using Python and Django, with the most common features for any web application:

  • Install Python and Django
  • Create the base Django Web application project
  • Create an application inside the Django project.
  • Create the main database and tables for administration
  • Run the web application locally

Then, in the next posts we will cover additional topics:

  • Create new models for data processing
  • Adding your models to the admin interface
  • Front-end web development with templates
  • Publish and deploy your application in Heroku

Continue reading “Web Applications using Python and Django”

Publish an iOS application in the AppStore

The next step after creating your application, is to publish an iOS application in the AppStore. This is a “quick” guide to publish iOS applications, if we want to make them public to the world. The process could be long for the first time.

The main steps involved in this process are:

  1. Create an Apple ID
  2. Join the Apple’s Developer program
  3. Create and build your application in Xcode
  4. Create an archive of your signed application
  5. Register your application in App Store Connect
  6. Upload or export your application
  7. Submit your application for Review
  8. Your application will be verified and published in the App Store.

Continue reading “Publish an iOS application in the AppStore”

How to change the Laravel public folder path

In this post, we will show how to change the Laravel public folder path (the default path for publishing public content, including the index). Actually, there is no configuration value to change this, but you can change some special files to change it to another location, and your application will continue working as expected.

Note: For Laravel 8, you can check this new post: Create a Laravel 8 application from scratch

Continue reading “How to change the Laravel public folder path”

Creating a Google API Key (Google Maps)

Every time you need a Google API key for different Google APIs. You need to create a new one for each different project. Follow these steps to get an API key.

Go to the Google Cloud Platform Dashboard.

Go to https://console.cloud.google.com/apis/dashboard to view your current applications registered in Google. If you have never created a project before, create a new project. For a new project, you need a Project Name (Example: MyApplication), and optionally, an organization. Google will give you a permanent application id associated to this project (Ex: myapplication-3563453).

Continue reading “Creating a Google API Key (Google Maps)”