A modern e-commerce demo application showcasing a headless architecture built with Solidus (Rails) backend and Next.js frontend.
This is a demonstration e-commerce application built with a headless architecture. The backend is powered by Solidus (a Rails-based e-commerce platform), while the frontend is a modern Next.js application.
The Rails API serves as a headless backend, utilizing CORS to enable cross-origin requests from the Next.js frontend, creating a seamless shopping experience with modern web technologies.
Built with modern, production-ready technologies
Modern e-commerce capabilities powered by Solidus
Elasticsearch integration for fast, accurate product search with autocomplete and filtering.
Devise-based authentication system with secure user management and session handling.
PostgreSQL database with Redis caching for optimal performance and scalability.
CI/CD pipeline with CircleCI, Docker containerization, and Kamal for zero-downtime deployments.
The application uses CircleCI for continuous integration and deployment. The pipeline handles SSH key decryption, Docker image building, and pushing to Docker Hub, followed by automated Kamal deployment.
Built as a Docker image based on ruby:3.1.2-slim with optimized build stages. Kamal manages zero-downtime deployments to EC2, with Traefikas the reverse proxy handling SSL certificates automatically.
Kamal manages the lifecycle of PostgreSQL, Redis, and Elasticsearch containers as accessories, ensuring a complete, production-ready environment with minimal configuration overhead.
Experience a modern e-commerce platform built with Solidus and Next.js. Browse products, test the search functionality, and see the headless architecture in action.