Skip to content

This project covers building a full-stack application using NextJS. It includes topics like building both the front-end and back-end, using component libraries, data fetching and state management, authentication and authorization, AI integration, database modeling and design, and deployment and scaling.

Notifications You must be signed in to change notification settings

COT-WORLD/NEXTJS-GEMINI-AI-APP

Repository files navigation

NEXTJS-GEMINI-AI-APP

My Next.js App

Welcome to Annonymous Message App! This is a Next.js application built with React and TypeScript, MongoDB Database, Google Gemini AI, Zod, Next-auth(Credentials and JWT strategy), Resend email, Shadcn UI library and react-hook-form. It features server-side rendering, static site generation, and API routes, providing a modern and powerful framework for sending annonymous message to users.

Table of Contents

Getting Started

To get started with the Next.js app, follow the instructions below to set up the project locally.

Prerequisites

Before getting started, you need to have the following installed on your machine:

  • Node.js (v12.0.0 or later)
  • npm or yarn (npm comes with Node.js, but you can also install Yarn)

Installation

Clone the repository to your local machine using git:

git clone https://github.com/COT-WORLD/NEXTJS-GEMINI-AI-APP.git
cd NEXTJS-GEMINI-AI-APP
npm install

Set-up-the-environment-variables

Rename .env.sample file to .env file and then paste the keys of MongoDB, resend and Google gemini api and next auth secret.

Running-the-application

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.

Deployment-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 our Next.js deployment documentation for more details.

About

This project covers building a full-stack application using NextJS. It includes topics like building both the front-end and back-end, using component libraries, data fetching and state management, authentication and authorization, AI integration, database modeling and design, and deployment and scaling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published