Skip to content

A modern, responsive API documentation template built with Next.js, TypeScript, and Tailwind CSS. This template provides a clean and professional way to document your APIs with a beautiful user interface.

License

Notifications You must be signed in to change notification settings

bronsondunbar/api-documentation-template

Repository files navigation

API Documentation Template

A modern, responsive API documentation template built with Next.js, TypeScript, and Tailwind CSS. This template provides a clean and professional way to document your APIs with a beautiful user interface.

Features

  • 🎨 Modern and responsive design
  • 🌓 Dark/Light mode support
  • 📱 Mobile-friendly layout
  • 🚀 Built with Next.js and TypeScript
  • 💅 Styled with Tailwind CSS
  • 📝 Markdown support for documentation
  • 🎯 Easy to customize and extend

Getting Started

Prerequisites

  • Node.js 18.17 or later
  • npm or yarn

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/api-documentation-template.git
cd api-documentation-template
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev

The application will be available at http://localhost:3001.

Project Structure

api-documentation-template/
├── src/              # Source files
├── public/           # Static assets
├── components/       # React components
├── styles/          # Global styles
└── pages/           # Next.js pages

Customization

Adding API Documentation

  1. Create a new markdown file in the appropriate directory
  2. Use the provided components to structure your documentation
  3. Add your API endpoints, parameters, and examples

Styling

The template uses Tailwind CSS for styling. You can customize the theme by modifying the tailwind.config.ts file.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please open an issue in the GitHub repository.

Acknowledgments

About

A modern, responsive API documentation template built with Next.js, TypeScript, and Tailwind CSS. This template provides a clean and professional way to document your APIs with a beautiful user interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published