Nearby Shops app architecture

In this article we will study the basic architecture of the nearby shops app.

Prerequisite Knowledge

To understand this guide you dont need to be an expert but having some basic understanding of software and database will help you.

App Architecture Explained

Nearby Shops contain java based rest api in the backend which uses PostgreSQL as its primary database. It connects with PostgreSQL DB with type 4 JDBC driver. The database and api can be on one server OR we can also have a separate server for database. All the images and data are stored on the backend.

In the front end we have three android apps. End-User app, shop-owner app and admin app. These apps connect with the backend api using retrofit networking library.

We currently dont have a web interface but we would like to add it in future !