Git Product home page Git Product logo

planner-ai's Introduction

PlannerAI by Team Semblantech

Your smart assistant for productivity.

Check this web app here: https://planner-ai-six.vercel.app/

Fully Responsive UI

Light mode

Light Mode Large Light Mode Medium Light Mode Small

Dark mode

Dark Mode Large Dark Mode Medium Dark Mode Small

Features

  • Tailwind design
  • Tailwind animations and effects
  • Full responsiveness
  • Clerk Authentication (Email, Google, 9+ Social Logins)
  • Client form validation and handling using react-hook-form
  • Server error handling using react-toast
  • Set daily events on Dashboard manually
  • Set daily events on Dashboard using voice prompts (AlanAI)
  • Conversation Generation Tool (OpenAI)
  • Code Generation Tool (OpenAI)
  • Image Generation Tool (OpenAI)
  • Music Generation Tool (Replicate AI)
  • Video Generation Tool (Replicate AI)
  • Page loading state
  • Stripe monthly subscription
  • Free tier with API limiting
  • Write POST, DELETE, and GET routes in route handlers (app/api)
  • Fetch data in server react components by directly accessing database (without API)
  • Handle relations between Server and Child components
  • Reuse layouts
  • Folder structure in Next 13 App Router

Prerequisites

Node version 18.X.X or newer

To check

Open Command Prompt and run

node -v

To install

Visit the official Node.js website: https://nodejs.org/ (I've used the LTS Version)

Getting Started

Cloning the repository

git clone https://github.com/antonioken22/planner-ai.git

Install packages

npm i

Setup .env file

# From https://dashboard.clerk.com/apps/api-keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

# Clerk Convention
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard

# From https://platform.openai.com/account/api-keys
OPENAI_API_KEY=
# From https://replicate.com/account/api-tokens
REPLICATE_API_TOKEN=
# From https://studio.alan.app/projects > YourProject > Integrations
NEXT_PUBLIC_ALAN_SDK_KEY=

# From https://app.planetscale.com > YourDatabase > Get connection strings
DATABASE_URL=

# From https://app.crisp.chat/settings/website > Setup instructions  > Website ID
NEXT_PUBLIC_CRISP_WEB_ID=
# From https://dashboard.stripe.com/test/apikeys > Secret key
STRIPE_API_KEY=
# Learn how to obtain this by watching this video https://www.youtube.com/watch?v=ffJ38dBzrlY at 4:28:45
STRIPE_WEBHOOK_SECRET=

# Default Hosting Server
# Change this when you deploy it to a hosting service (I've used Vercel) e.g. https://planner-ai-antonioken22.vercel.app
NEXT_PUBLIC_APP_URL="http://localhost:3000"

Setup Prisma

Add MySQL Database (I've used PlanetScale)

npx prisma db push
npx prisma generate
npx prisma studio

Start the app

npm run dev

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out Next.js deployment documentation for more details.

Credits

I am very thankful to these YouTubers who have shared their web application development processes. They generously provided their React component-based code, which I've used extensively in this web application.

planner-ai's People

Contributors

antonioken22 avatar

Watchers

 avatar

Forkers

crazyeye19

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.