In the last blog post, we bootstrapped the Clojure project using Mount and Aero. We are going to continue from we left off and configure database connection pooling, migration & Reloaded Workflow in this blog post.
This blog post is a part 2 of the blog series Building an E-Commerce Marketplace Middleware in Clojure.
Configuring Hikari-CP Let’s get started by adding the hikari-cp, a Clojure wrapper to HikariCP, and the Postgres driver dependencies in the project.
In this blog post, we are going to focus on bootstrapping the Clojure project using Mount & Aero and interacting with the application using the REPL.
This blog post is a part 1 of the blog series Building an E-Commerce Marketplace Middleware in Clojure.
Getting Started Let’s get started by creating a new app project using Leiningen and give it a project name wheel.
lein new app wheel Reading Configuration To manage the application-level configuration, we are going to use Aero.
We recently built an e-commerce marketplace middleware for a leading retail chain for consumer electronics & durables. The middleware enables them to sell their products on multiple e-commerce sites seamlessly.
Through this blog post series, I am planning to share how we developed it in Clojure by building a minimal version of it.
Problem Statement The retailer (our client) runs 134 stores across 32 cities in India. In addition to this, they sell their products in e-commerce marketplaces Tata-Cliq, Amazon and Flipkart.
In the last blog post, we learned how to implement RESTful APIs using Compojure-API & Toucan. We are going to generalise that example by creating a little abstraction around it.
The abstraction that we are going to create is going to help us in creating similar RESTful endpoints for any domain entities with less code.
Let's dive in!
The Book Entity To abstract what we did there, we need a few more specific implementation.
In my last blog post on our experiences in using Clojure in production, I mentioned that we used Compojure API and Toucan to implement CRUD APIs. The abstraction that we created using these libraries helped us to create HTTP CRUD APIs for any domain entity in a matter of minutes. In this small blog-post series, I am going to share how we did it.
This first part is going to focus on developing a RESTful CRUD APIs for a specific domain entity.
We at Ajira successfully delivered our first project in Clojure recently. It was an impressive outing for the last eight weeks!
We were able to deliver some complex features with ease because of the outstanding data-oriented programming features provided by Clojure. This blog post summarizes our experiences.
The Problem Statement The Project that we delivered was a Low Code Development Platform where the system administrator configures the way the entire application would look like & behave for the end user.