Coder Social home page Coder Social logo

timoanttila / svelte-doksut Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 497 KB

Documenting a REST API project is really important, but usually cumbersome. Doksut provides an easy way to create an easy-to-read website from a json file.

Home Page: https://doksut.timoanttila.com

License: GNU General Public License v3.0

JavaScript 43.31% Svelte 56.69%
documentation documentation-tool documentation-generator svelte sveltejs svelte-framework svelte-example svelte-documentation website spa webapp pwa

svelte-doksut's Introduction

Doksut

I have done a lot of REST APIs and frontends for those, but unfortunately the projects are not very well documented. Because of the new project, I had to find a suitable tool to easily document an API made with PHP. I occasionally use object-oriented code, but for the most part there are only quick database searches which don’t necessarily need their own classes. I think less code is better.

Swagger came up, but I think it's far too difficult to get it up and running for my kind of coder who does not use classes for all the code. Creating a website from JSON file can not require the installation of two different packages, hundreds of files and a lot of thinking and learning. Wasted so much time for that.

However, I really like websites created by Swagger and our partner uses it. I think Swagger’s way of using the JSON file is really good, so I made a simple version of it.

Doksut is a very simple JSON reader that turns data into an easy-to-read website. JSON format and the style of the page is similar to Swagger.

Builded file doksut.js is only 13.8 KB and can be attached to any file on the website. Reads /docs.json by default.

Check out a working example

svelte-doksut's People

Contributors

timoanttila avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.