Skip to content

Commit 2cf05e5

Browse files
committed
docs: expand README with detailed project information, features, tech stack, and setup instructions.
1 parent 3142e57 commit 2cf05e5

1 file changed

Lines changed: 68 additions & 2 deletions

File tree

README.md

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,68 @@
1-
# api-documentation-generator
2-
NextJS Hackathon
1+
# Clariodocs | API Documentation Generator
2+
Transform your API specification into a clean, branded, and shareable documentation site instantly. Clariodocs is a powerful tool designed for developers to effortlessly convert OpenAPI specs and Postman Collections into beautiful, interactive documentation.
3+
![Clariodocs Dashboard Hero](public/images/create-beautiful-api.png)
4+
## 🚀 Features
5+
- **Easy API Spec Upload**: Upload your OpenAPI (JSON/YAML) or Postman collection in seconds.
6+
- **AI-Powered Enhancement**: Automatically generate clear descriptions, functional code examples, and usage patterns using advanced LLMs (e.g., Anthropic Claude 3.5 Sonnet via OpenRouter).
7+
- **Beautiful Documentation UI**: Get a modern, responsive interface complete with dark mode support.
8+
- **Multiple Templates**: Choose from Minimal, Developer Hub, Enterprise, or Interactive templates to match your audience's needs.
9+
- **Interactive Editor**: Tweak and edit your generated documentation in a split-pane interactive Monaco Editor.
10+
- **Custom Domain Support**: Host on our platform or bring your own domain for a seamless, branded experience.
11+
- **Export Options**: Download your generated documentation as PDF or ZIP files.
12+
## 💻 Tech Stack
13+
- **Framework**: [Next.js 15.2](https://nextjs.org/) (React 19)
14+
- **Styling**: [Tailwind CSS v4](https://tailwindcss.com/) with Framer Motion, Radix UI primitives, and custom Glowing Effects
15+
- **Authentication & Database**: [Supabase](https://supabase.com/)
16+
- **AI Generation**: [OpenRouter](https://openrouter.ai/) for LLM integration
17+
- **Editor**: [@monaco-editor/react](https://github.com/suren-atoyan/monaco-react) & MDX
18+
- **Drag & Drop**: [@dnd-kit](https://dndkit.com/)
19+
## 📂 Project Structure
20+
```bash
21+
clariodocs-api-documentation-generator/
22+
├── src/
23+
│ ├── app/ # Next.js App Router (pages layout & routing)
24+
│ │ ├── (dashboard)/ # Main app dashboard, document generation, and editor
25+
│ │ ├── api/ # API Routes for database and OpenRouter calls
26+
│ │ └── ...
27+
│ ├── components/ # Reusable UI components (sections, layouts, MDX elements)
28+
│ ├── hooks/ # Custom React hooks
29+
│ ├── lib/ # Service functions (Supabase client, docService, OpenRouter)
30+
│ ├── provider/ # Global context providers
31+
│ ├── services/ # Business logic and external API integrations
32+
│ └── types/ # TypeScript type definitions
33+
├── public/ # Static assets (images, icons)
34+
├── package.json # NPM dependencies and scripts
35+
└── next.config.ts # Next.js configuration
36+
```
37+
## 🛠️ Getting Started
38+
Follow these steps to set up the project locally:
39+
### 1. Clone the repository
40+
```bash
41+
git clone <repository-url>
42+
cd clariodocs-api-documentation-generator
43+
```
44+
### 2. Install Dependencies
45+
```bash
46+
npm install
47+
```
48+
### 3. Environment Variables
49+
Create a `.env.local` file in the root directory and add the necessary environment variables based on `.env.example`:
50+
```env
51+
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
52+
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
53+
OPENROUTER_API_KEY=your_openrouter_api_key
54+
```
55+
### 4. Run the Development Server
56+
```bash
57+
npm run dev
58+
```
59+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the application.
60+
## 🤝 Contributing
61+
Contributions are welcome! Please feel free to submit a Pull Request.
62+
1. Fork the Project
63+
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
64+
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
65+
4. Push to the Branch (`git push origin feature/AmazingFeature`)
66+
5. Open a Pull Request
67+
## 📄 License
68+
This project is licensed under the MIT License - see the `LICENSE` file for details.

0 commit comments

Comments
 (0)