Awais Rasool

SchemaCraft

Full Stack Developer & DevOpsCompleted
SchemaCraft preview

Tech Stack

Frontend
React.js
Backend
Go
Swagger
Database
MongoDb
Mobile & Auth
OAuth
Cloud & DevOps
AWS EC2
Docker
GitHub Actions

Overview

SchemaCraft is a revolutionary full-stack SaaS platform that transforms API development. It enables developers and teams to create custom REST APIs instantly through visual schema design, complete with auto-generated CRUD endpoints, authentication, real-time collaboration, and comprehensive admin controls.

Problem Solved

Building REST APIs from scratch is repetitive and time-consuming. Teams often rewrite similar CRUD logic, authentication, and validation layers for every new project, slowing down product development. SchemaCraft eliminates this boilerplate by generating production-ready APIs from visual schema definitions.

Solution

SchemaCraft provides a visual schema designer where users define data models, relationships, and constraints through an intuitive drag-and-drop interface. The platform then generates a complete Go backend with REST endpoints, JWT authentication, input validation, database migrations, and interactive Swagger documentation.

Workflow

  1. Schema Design: Visually create data models with fields, types, validations, and relationships
  2. Configuration: Set authentication rules, rate limits, and access controls
  3. Generation: Click generate to produce Go source code with full CRUD operations
  4. Review: Inspect the generated Swagger documentation and test endpoints
  5. Deployment: Deploy to AWS EC2 with a single click using pre-built Docker images
  6. Monitoring: Track API usage, errors, and performance from the admin dashboard
  7. Iteration: Modify schemas and redeploy with automatic database migrations

Technical Highlights

  • Frontend: React with TypeScript, DnD libraries for schema design, Tailwind CSS
  • Backend: Go with a custom code generation engine using Go's text/template
  • Code Quality: Generated code includes input validation, SQL injection protection, and RBAC
  • Database: MongoDB for schema storage; generated APIs support PostgreSQL, MySQL, or MongoDB
  • DevOps: Docker containers, AWS EC2 deployment, GitHub Actions CI/CD
  • Documentation: Auto-generated Swagger/OpenAPI specs for every created API

Key Takeaways

SchemaCraft taught me that code generation is as much about developer experience as it is about automation. By ensuring the generated code follows idiomatic patterns, includes comprehensive comments, and produces clean Swagger docs, teams actually want to use and extend the output rather than treating it as throwaway boilerplate.

Features

Visual schema designer with instant API generation

Auto-generated CRUD endpoints with authentication

Admin dashboard for user and role management

Swagger UI for interactive API documentation

Real-time collaboration on schema changes

One-click deployment to AWS EC2 with Docker

GitHub Actions CI/CD pipeline

Rate limiting and API key management

Architecture

SchemaCraft is a SaaS platform with a React TypeScript frontend and Go backend. The backend includes a dynamic code generation engine that translates visual schemas into Go source code with full CRUD handlers, middleware, and database migrations. MongoDB persists schemas and generated API configs. The platform is containerized with Docker and deployed on AWS EC2. CI/CD is handled by GitHub Actions.

API & System Flow

User defines a schema via the React frontend → Frontend sends schema JSON to Go backend → Backend validates and generates Go structs, handlers, and routes → Generated code is compiled into a microservice → Microservice is deployed as a Docker container → End user receives Swagger docs and live API endpoints with JWT authentication.

Challenges & Solutions

Solution

Built a Go code generation engine using text/template with built-in security patterns including input validation, SQL injection prevention, and RBAC middleware.