Latest Jar file : nearbyshops-api-latest.zip
In this guide we learn how to install Nearby Shops API on the Could Hosting Service like Digital Ocean or AWS using Ubuntu 16.04 Server.
A trivial Java process can get killed, terminated due to various reasons and this is bad because termination of Java API process can terminate your service. In this tutorial we study various strategies how we can restart a Java Process if it gets terminated due to system error or due to Server Reboot or Restart.
Low Memory can become a problem on the Server. Adding a swap space can rescue us from this problem.
Sometimes we might face situations where port 80 is not free and already occupied. So we study various strategy to kill process on port 80 to free up the port 80.
Working with Postgres Database
In this article the Tables used and the Database Schema for the Nearby Shops application
We might need to have read-write access to the postgres Database of Nearby Shops API for various reasons. In this tutorial, we study how can enable remote access to the postgres database installed on the API Server.
If you already have postgres installed and you want to upgrade your database to the latest version please refer to this article.
- Useful terminal Commands Ubuntu 16.04
- SystemD Terminal Commands
- Source code
- Useful Tutorials From Digital Ocean
- Solutions from Stack Overflow
- Rough Notes
Pending Topics – Coming Soon
Setup Local Development Environment
In this tutorial we will see how you can setup the development environment on your own local machine.
Secure your API using SSL / TLS from LetsEncrypt (Coming Soon)
In this tutorial we will see how we can secure our API using LetsEncrypt free SSL/ TLS certificates
Configure Domain Name for the Service
An IP Address of the Server can change with change in configuration. Therefore we need a friendly domain name. Which remains constant and does not change. A friendly domain is needed to help users remember and identify your service.