prasadhonrao / devcamper

DevCamper is a web application created to help users discover, rate, and review coding bootcamps.
MIT License
8 stars 4 forks source link

Create Documentation for API #1

Open prasadhonrao opened 3 months ago

prasadhonrao commented 3 months ago

We need to create comprehensive documentation for our API to ensure developers and users can easily understand and use the available endpoints. This documentation should cover all aspects of the API, including the following:

Documentation Requirements:

  1. API Overview:

    • Brief introduction to the API and its purpose.
    • Authentication and authorization methods (e.g., API keys, OAuth, etc.).
  2. Endpoints:

    • List of all available endpoints with detailed descriptions.
    • For each endpoint, include:
      • Method (GET, POST, PUT, DELETE, etc.).
      • URL (including any path parameters).
      • Request Parameters (query parameters, headers, body content).
      • Response Format (including status codes and example responses).
      • Error Handling (common errors, error codes, and their meanings).
  3. Examples:

    • Provide code snippets and examples for common use cases.
    • Examples in multiple languages (e.g., cURL, Python, JavaScript) if possible.
  4. Versioning:

    • Document the current version of the API.
    • Mention how versioning is handled (e.g., in the URL, headers).
  5. Rate Limiting:

    • Explain any rate limiting that applies to the API.
    • Provide examples of how rate limits are communicated in responses.
  6. Tools and Frameworks:

    • Specify if any tools will be used for generating or maintaining the documentation (e.g., Swagger, JSDoc).
    • Guidelines on how contributors can update the documentation.
  7. Target Audience:

    • Define the intended audience for the documentation (e.g., internal developers, third-party developers, etc.).

Additional Information:

anchetadev commented 2 months ago

Hey there I'd love to contribute to this. Please let me know if you are still looking for contributors for your documentation.

Ashleycodesseo commented 2 months ago

hey @prasadhonrao I can help you with your documentation. Please let me know the help you need and I'd be happy to give you a hand

prasadhonrao commented 2 months ago

Thanks @anchetadev for offering your support. Please let me know how we can take this forward.

prasadhonrao commented 2 months ago

Thanks @Ashleycodesseo for offering your support. Please let me know how we can take this forward.

Ashleycodesseo commented 2 months ago

@prasadhonrao I can work on your API overview and endpoints and really anything else you need help with. Just send me some instructions. I am working through some other projects but I will update you when I'm ready to get started with yours. You can email me at ashleycodesseo@gmail.com Thank you!

kenudeh commented 1 month ago

Is this done? If not, I should be able to help. On the other hand, if the documentation is ready for publishing, I'd recommend Mintlify. It's free and comes with great features out of the box.

prasadhonrao commented 1 month ago

Hi @kenudeh, thanks for offering your support. Would it be possible for you to work on the overall project documentation and create Wiki Pages ( I have created a few ) while @Ashleycodesseo keep working no the API documentation part? Please let me know. Thanks.