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 🧠
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
cd gen-content
npm install
To use the Gemini API, you need to obtain an API key. Follow these steps:
- Sign up at the Gemini API provider's website.
- Generate your API key from the dashboard.
- 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
npm run dev
Open http://localhost:3000 with your browser to see the result.
For managing your PostgreSQL database, you can use Drizzle Studio. It provides a modern interface for exploring and managing your database.
Vercel: Deploy your Next.js application to Vercel for easy hosting and automatic deployments.