This project focuses on building a fully featured AI-powered email client using NextJS 14 and deploying it seamlessly to Vercel. The email client leverages advanced AI functionalities to enhance the user experience, including features like smart email organization, automated responses, and content suggestions. Key features include:
- Next.js
- React
- TypeScript
- Tailwind CSS
- Clerk
- Prisma ORM
- PostgreSQL
- AWS SDK
- OpenAI API
- Stripe
- Axios
- Pinecone
- OpenAI Edge
- Neon Database Serverless
- @tanstack/react-query
- @clerk/nextjs
- clsx
- tailwind-merge
Follow the steps below to install and setup the project:
-
Clone the repository
Open your terminal and run the following command:
git clone https://github.com/bouzayenilyes/AI-Email-SaaS.git
-
Navigate to the project directory
cd AI-Email-SaaS
-
Install Node.js
The project requires Node.js version 13.4.19 or later. You can download it from here.
-
Install the required dependencies
Run the following command to install all the required dependencies:
npm install
This will install all the dependencies listed in the
package.json
file, including Next.js, React, React DOM, Axios, Stripe, Tailwind CSS, and other specific dependencies such as "@aws-sdk/client-s3" and "@clerk/nextjs". -
Setup environment variables
Create a
.env
file in the root directory of your project and add the required environment variables. -
Run the project
Now, you can run the project using the following command:
npm run dev
Open http://localhost:3000 with your browser to see the result.