Contentor is a content-generating AI tool designed to streamline the creation of engaging and relevant content.
Contentor is a web-based application built using Next.js and TypeScript. It is designed to create AI-driven content generation tools with modern development frameworks. The project aims to provide efficient and scalable content workflows to improve productivity, and it is deployable via Vercel for quick and easy hosting.
-
React: A JavaScript library for building user interfaces.
-
Next.js: A React framework for server-side rendering and static site generation.
-
Gemini: (Add a short description of its use in your project).
-
Clerk: Authentication and user management made simple.
-
TailwindCSS: A utility-first CSS framework for rapid UI development.
-
TypeScript: A typed superset of JavaScript that adds static typing.
-
AI-driven content generation.
-
Scalable and efficient automated content workflows.
-
Server-side rendering and static site generation using Next.js.
-
Integrated user management and authentication via Clerk.
-
Stylish, responsive design using TailwindCSS.
-
Easy deployment through Vercel.
- Clone this repository to your local machine:
git clone https://github.com/bobbyy16/contentor.git
cd contentor
- Install the required dependencies:
npm install
- Setup environment variables
Create a .env.local file in the root directory and add the following values:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=
NEXT_PUBLIC_CLERK_SIGN_UP_URL=
NEXT_PUBLIC_GEMINI_API_KEY=
NEXT_PUBLIC_DRIZZLE_DB=
- Run the application
For development:
npm run dev
For production:
npm run build
npm start
- Go to Neon and sign up for a new account or log in if you already have one.
-
In your Neon dashboard, click on Create Database.
-
Enter a name for your database and select your preferred region.
-
Click on Create to provision your new database.
-
Choose next.js and go to tab .env just below and copy the 'DATABASE_URL'
-
Update your
.env.local
file to include the connection string:
-
Create application in Clerk
-
Choose next.js
-
In second step copy all the content of .env.local from clerk platform
-
Paste it in .env.local in your local machine
-
Fork the repository
-
Create a feature branch (
git checkout -b feature-name
) -
Commit your changes (
git commit -am 'Add new feature'
) -
Push to the branch (
git push origin feature-name
) -
Create a new Pull Request