Skip to content

AI-powered image generator. A real SaaS app using Next.js 14, Clerk, MongoDB, Cloudinary AI, Stripe and Shadcn UI.

Notifications You must be signed in to change notification settings

getFrontend/next-app-ai-saas

Repository files navigation

About

Imagenko it's an AI-powered image generator. The project was implemented as a real Software-as-a-Service app with AI features and payments & credits system.

The project also aimed to improve real-world application development skills. Thanks to JavaScript Mastery tutorials and masterclasses from Adrian Hajdin πŸš€.

Tech Stack

βš™οΈ Next.js 14

βš™οΈ TypeScript

βš™οΈ MongoDB & Mongoose

βš™οΈ React Hook Form & Zod (for form validation)

βš™οΈ Clerk

βš™οΈ Cloudinary

βš™οΈ Stripe

βš™οΈ Shadcn UI & Tailwind CSS

Features

πŸ”‹ Authentication and Authorization: Secure user access with registration, login, and route protection.

πŸ”‹ Community Image Showcase: Explore user transformations with easy navigation using pagination

πŸ”‹ Advanced Image Search: Find images by content or objects present inside the image quickly and accurately

πŸ”‹ Image Restoration: Revive old or damaged images effortlessly

πŸ”‹ Image Recoloring: Customize images by replacing objects with desired colors easily

πŸ”‹ Image Generative Fill: Fill in missing areas of images seamlessly

πŸ”‹ Object Removal: Clean up images by removing unwanted objects with precision

πŸ”‹ Background Removal: Extract objects from backgrounds with ease

πŸ”‹ Download Transformed Images: Save and share AI-transformed images conveniently

πŸ”‹ Transformed Image Details: View details of transformations for each image

πŸ”‹ Transformation Management: Control over deletion and updates of transformations

πŸ”‹ Credits System: Earn or purchase credits for image transformations

πŸ”‹ Profile Page: Access transformed images and credit information personally

πŸ”‹ Credits Purchase: Securely buy credits via Stripe for uninterrupted use

πŸ”‹ Responsive UI/UX: A seamless experience across devices with a user-friendly interface

Quick Start

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

git clone https://github.com/getFrontend/next-app-ai-saas.git

Installation

Install the project dependencies using npm:

npm run dev

Set Up Environment Variables

Rename the .env_example file to .env.local.

Replace the placeholder values with your actual respective account credentials from Clerk, MongoDB, Cloudinary and Stripe

Running the Project

npm run dev

Open http://localhost:3000 in your browser to view the project.