A URL shortening service backend running Node.js with Express, with the database using PostgreSQL.
It's front-end codebase is available here.
SnipTech is currently hosted on the Heroku platform under a free plan, and can be accessed here. Similarly for the backend, the server can be tested using the root url: https://sniptech-be.herokuapp.com/.
The overall system is running a PEAN stack.
-
Express - a fast, minimal and flexible Node.js web application framework
-
Node.js - an open-source Javascript server environment that is asynchronous event-driven
-
PostgreSQL - an open-source relational database management system
-
cors - to allow the whitelisting of the front-end domain, as both sides of the stack do not share the same domain
-
dotenv - to support development when having development and production environments
-
pg - a pure JavaScript PostgreSQL client for Node.js, to facilitate PostgreSQL operations, it's main logic is located here