Code Monkey home page Code Monkey logo

swarnendug07 / imagemagic Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 650 KB

User Can upscale their Images and Change their Background's & Erase Any Objects from a Image , Change Color of a Object, Convert Image ratio's

Home Page: https://image-magic.vercel.app

CSS 6.06% TypeScript 93.70% JavaScript 0.24%
nextjs14 shadcn stripe-api tailwindcss typescript magic-ui clerk-authentication clerk-webhooks momgodb mongoose reactjs zod-validation cicd docker docker-compose

imagemagic's Introduction

IMAGE-MAGIC

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

pen http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

This project uses shadcn for UI's.

For Local Development

1st Clone the Repo

git clone https://github.com/SwarnenduG07/ImageMagic.git

cd imagemagic

Go to the project directory and do

npm install

Next Step

Go to [.env.example] Replace your won API keys with existing one's

Replace

CLERK_PUBLISHABLE_KEY & CLERK_SECRET_KEY & webhook secret

Go to Clerk

Cloudinary_API_TOKEN

Go toCloudinary Then Copy

NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME
CLOUDINARY_API_KEY
CLOUDINARY_API_SECRET

Then go to setting/upload and enable unsigned URL then create app and then give a folder name. then go to adOns and turn on google auto tagging.

Db_URL

go to MongoDb Altas

STRIP API TOKEN & STRIPE_WEBHOOK_SECRET

Go to Strip

How to Download strip-cli

In WINDOWS we will use Scoop to install it so

Open PowerShell and pest this command to install scoop

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Now we will install Strip-cli To install this pest this ๐Ÿ‘‡ command

scoop bucket add stripe https://github.com/stripe/scoop-stripe-cli.git
scoop install stripe

This will install Strip-cli

For Other OS

Visit this Strip-cli and install this

Then Create an account and get a API key and replace this with STRIPE_API_KEY then go to webhook and download the strip-cli and run it

stripe login

In your terminal and do then

stripe listen --forward-to localhost:3000/api/webhook

in webhook section and it in your terminal you will get something like this

[whsec_97347152fae0xxxxxx823xxb1707d0b4aaa1794a5abf9c1sdkjh17]

put this in your STRIPE_WEBHOOK_SECRET

For Running the project

npm run dev

Open http://localhost:3000 with your browser to see the result.

imagemagic's People

Contributors

swarnendug07 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.