This project were made because I am currently learning Next JS & Typescript. Tech used:
- Stripe
- Clerk
- Cloudinary
- MongoDB
- NEXT
- Vercel
- ShadCN
- Tailwind
- using Clerk is very easy & their docs are very well documented, I am able to set up webhooks following their official docs
- understanding Next's serverless nature is pretty hard, I might need more projects done to get the grasp of this (in terms of setting up cache for MongoDB connection)
Clone the repo:
git clone https://github.com/rezha4/ai.mage.gitInstall the dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun installThen run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devTake a look at .env.example for all the secrets and env variables you might need to add form third party services/databases - in this case it's Cloudinary, Stripe, Clerk and MongoDB.
Special thanks to Adrian from JSM Mastery, I mostly managed to create this based on his code snippets repo