A chrome extension and also a web app. Swagger UI Alternative. Get a pretty rest documentation app easily cloning this stuff :book:
PrettyRestDoc is an innovative template built using React that streamlines the process of creating and customizing REST API documentation for both commercial and development purposes. With its intuitive structure, it enables developers to easily integrate OpenAPI 3 specifications, making it a valuable tool for anyone looking to enhance their API visibility. This project leverages create-react-app with a TypeScript template, ensuring a modern and efficient development environment.
The highlight of PrettyRestDoc is its ability to seamlessly merge custom content with your API contract, allowing users to produce detailed and user-friendly documentation. Whether you're adding introductory sections, images, or specific details about roles and permissions, this tool simplifies the documentation process and ensures that your API users have the information they need at their fingertips.
Easy Integration with OpenAPI 3: Sync your OpenAPI 3 JSON file effortlessly using the "SectionItem" structure for managing content effectively.
Customizable Sections: Add personalized introductory sections, descriptions, and images to enhance user understanding and engagement.
Roles and Permissions Management: Create dedicated sections for roles and permissions by sending the appropriate props, making it easy to manage access controls.
Modular Code Structure: Simplified code organization within the src/lib folder facilitates easy modification and understanding of UI components and logic.
Sample Repository Available: Experiment with an example project using the PetStore from Swagger, showcasing the full potential of PrettyRestDoc with multiple sections.
Run Locally with Ease: Set up and test the documentation in your local browser seamlessly, ensuring a smooth development experience.
Stylish User Interface: Comes with modular CSS that allows for easy customization of styles to match your project's branding.
Thorough Testing Support: Built-in test capabilities to ensure the reliability and functionality of your documentation.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.
Documentation themes are built specifically for writing technical and product documentation. They are normally written and maintained in Markdown. The often include a navigation menu, search bar, clear headings, semantic document structure and clean typography.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.