Skip to content

atharv01h/Api-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Code Generator

A powerful tool that generates API integration code snippets in multiple programming languages and frameworks. Created by Atharv Hatwar.

🚀 Features

  • Generate API code snippets for multiple programming languages
  • Support for various HTTP methods (GET, POST, PUT, DELETE, PATCH)
  • Multiple framework support per language
  • Real-time code generation
  • Copy to clipboard functionality
  • Clean and intuitive user interface

💻 Supported Languages & Frameworks

  • JavaScript
    • Fetch API
    • Axios
    • Express
  • Python
    • Requests
    • Flask
  • Go
    • net/http

🛠️ Tech Stack

  • Frontend: HTML, JavaScript, Tailwind CSS
  • Backend: Node.js, Express
  • Dependencies:
    • express
    • cors
    • body-parser

🚀 Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/api-generator-tool.git
  1. Install dependencies:
npm install
  1. Start the server:
npm run dev
  1. Open your browser and navigate to http://localhost:3000

🎯 How to Use

  1. Select your preferred programming language
  2. Choose a framework
  3. Select the HTTP method (GET, POST, PUT, DELETE, PATCH)
  4. Enter the API endpoint URL
  5. (Optional) Add a request body for POST/PUT/PATCH requests
  6. Click "Generate Code"
  7. Copy the generated code using the "Copy to Clipboard" button

📁 Project Structure

api-generator-tool/
├── src/
│   ├── public/
│   │   ├── index.html
│   │   └── script.js
│   ├── templates/
│   │   └── index.js
│   └── index.js
├── package.json
└── README.md

🤝 Contributing

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

📝 License

This project is open source and available under the MIT License.

🙏 Acknowledgments

Created by Atharv Hatwar

📧 Contact

For any queries or suggestions, please reach out to me

About

A powerful tool that generates API integration code snippets in multiple programming languages and frameworks. Created by Atharv Hatwar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors