Micro Scale

screenshot of Micro Scale
nextjs
react
tailwind
shadcn-ui
supabase

Micro Scale

Use this open-source image upscaling web app template for your Next.js project. Powered by Replicate AI.

Overview:

This project started as a hackathon project and evolved into a template for developers. It integrates various technologies such as Next.js, Tailwind CSS, Supabase, Stripe, and Replicate AI. Users can buy credits for access to the upscale feature built around Replicate AI.

Features:

  • Next.js 14: Built with the Next.js framework.
  • Tailwind CSS: Utilizes Tailwind CSS for styling.
  • Supabase: Uses Supabase for storage, authentication, and database.
  • Stripe and Stripe Checkout: Integrated Stripe for payment processing.
  • Replicate AI: AI predictions powered by Replicate AI.

Installation:

  1. Configure environment variables with required keys.
  2. Set up the database with the provided schema.
  3. Configure the Stripe webhook URL to http://localhost:3000/api/stripe.
  4. Start the development server by running the command.
  5. Create an ngrok tunnel to expose localhost.
  6. Uncomment the code in src/app/api/upload file for AI predictions.
  7. Access the app and start using it.

Summary:

The project is a versatile template built with Next.js, Tailwind CSS, Supabase, Stripe, and Replicate AI. Users can experience AI predictions, purchase credits through Stripe, and access upscale features. Setting up the environment, database, and webhooks are essential for smooth operation.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

supabase
Supabase

Supabase is an open source Firebase alternative. Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, and Storage.

fullstack
Fullstack Boilerplates

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.