SaaS Application

Na Minha Cidade

A full-stack SaaS platform for service providers to advertise their services with subscription-based pricing.

Na Minha Cidade preview 1

Tech Stack

Next.js + Go

Database

PostgreSQL

Payments

Stripe

Infrastructure

Docker + Nginx Reverse Proxy

Projects.detail.aboutProject

Overview

Na Minha Cidade is a comprehensive SaaS marketplace designed to connect local service providers with customers in their area. The platform enables professionals, from plumbers and electricians to tutors and personal trainers, to create detailed profiles, showcase their work, and manage their online presence through a subscription-based model. Built with a modern tech stack, the application handles everything from user authentication and payment processing to real-time notifications and search optimization.

Na Minha Cidade is not just a simple web application; it's a production-ready SaaS built to scale. The core of the platform is designed around connecting local professionals with the community. It implements a fully automated subscription lifecycle using Stripe webhooks. The platform has both a consumer-facing app and an administrative frontend. Security and performance are top priorities, featuring proper JWT authentication, bcrypt hashing, SQL injection protection via prepared statements, and SSL/TLS termination via a heavily customized Nginx reverse proxy.

System Design

Architecture & Implementation

1
Backend Layer (Go)

Built using strict Clean Architecture principles (Domain, Repository, Service, Handler layers) for ultimate testability and separation of concerns. Handles complex business logic and robust REST API delivery.

2
Frontend Layer (Next.js)

Leverages the Next.js App Router with TypeScript and Tailwind CSS. Implements a responsive, component-driven design optimized for both user experience and technical SEO.

3
Infrastructure & Deployment

Fully containerized using Docker and Docker Compose. Managed by a custom Python orchestration script. Features a production Nginx setup with Let's Encrypt SSL, security headers, and static file caching.

4
Payments & Subscriptions

Deep Stripe integration for €1/month subscriptions and 14-day free trials. Utilizes secure webhook handling for automatic account provisioning, billing failure handling, and account deactivation.

Key Features

Subscription-based service provider profiles with tiered pricing
Advanced search with location-based filtering and categories
Secure payment processing with Stripe integration and webhooks
Real-time chat between customers and service providers
Customer Reviews & Ratings system for services
Automated email notifications (welcome, payments, trial reminders)
SEO-optimized service pages for maximum visibility
Dual-frontend setup (Consumer facing & Admin dashboard)
Advanced analytics dashboard for platform management

Tech Stack

Next.js
TypeScript
Tailwind CSS
Go
PostgreSQL
Stripe
Docker
Redis

Interested in Working Together?

I'm always excited to take on new challenges and collaborate on interesting projects. Let's discuss how we can bring your ideas to life.