Skip to content

shine-sri/webAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webAI - Full-Stack AI Website Generator

TypeScript React Node.js PostgreSQL Prisma

Live Demo

Experience webAI Live

📖 Overview

webAI is a decoupled full-stack application designed to transform natural language prompts into functional, styled websites. By integrating the OpenRouter API, the application dynamically generates and renders HTML and Tailwind CSS components. The project features a highly secure, cross-domain authentication system and relies on a relational database architecture for persistent storage.

Key Features

  • Prompt-to-UI Generation: Routes complex user text prompts to LLMs to instantly generate styled web components.
  • Cross-Domain Authentication: Utilizes Better Auth with custom CORS policies and proxy configurations to maintain secure session cookies across decoupled frontend and backend environments.
  • Relational Data Management: Manages user states, project versioning, and session histories using a robust PostgreSQL schema.
  • Serverless Architecture: Configured for automated CI/CD pipelines via GitHub, deployed on Vercel for rapid iteration and zero-downtime updates.

Tech Stack

Frontend

  • Framework: React (via Vite)
  • Language: TypeScript
  • Styling: Tailwind CSS

Backend

  • Runtime: Node.js
  • Framework: Express.js
  • Language: TypeScript
  • Authentication: Better Auth

Database & Infrastructure

  • Database: PostgreSQL (Neon)
  • ORM: Prisma
  • AI Routing: OpenRouter API
  • Deployment: Vercel

Local Development Setup

Prerequisites

  • Node.js (v18+ recommended)
  • Git

1. Clone the Repository

git clone [https://github.com/shine-sri/webAI.git](https://github.com/shine-sri/webAI.git)
cd webAI

About

web-AI is a serverless, decoupled application leveraging React, Node.js, PostgreSQL, and OpenRouter API to instantly route and compile user prompts into fully styled, functional web interfaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages