Skip to content

sahilbambarkar/AI-Content-Generator

Repository files navigation

Gen-Content 🤖

It is an AI-powered content generator designed to help users create high-quality text content effortlessly. This application leverages modern technologies to provide a seamless user experience.

  • React.js ⚛️
  • TypeScript ✍️
  • Tailwind CSS 🎨
  • PostgreSQL 🐘
  • Drizzle ORM 💧
  • Gemini API 🧠

Getting Started 🚀

First, run the development server:

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

Install Dependencies

cd gen-content
npm install

API Key Configuration 🔑

To use the Gemini API, you need to obtain an API key. Follow these steps:

  1. Sign up at the Gemini API provider's website.
  2. Generate your API key from the dashboard.
  3. Add your API key to the environment variables in your project.

For example, you can create a `.env` file in the root of your project and add:

GEMINI_API_KEY=your_api_key_here

Start the Development Server

npm run dev

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

Database Management 🔑

For managing your PostgreSQL database, you can use Drizzle Studio. It provides a modern interface for exploring and managing your database.

Deployment 🌎

Vercel: Deploy your Next.js application to Vercel for easy hosting and automatic deployments.