Inspiration
When creating a REST API, it's often cumbersome to repeatedly generate long, random body values. With this my project Postman alternative, there's no need to manually write JSON bodies anymore. This project automatically generates JSON bodies to test your REST API, streamlining the process and improving efficiency.
What it does
Feature: This tool offers the ability to make GET, POST, PUT, and DELETE requests while also saving cookies. Moreover, when making POST, PUT, and DELETE requests, developers no longer need to manually write lengthy JSON bodies; instead, they can generate JSON bodies using its AI functionality. This feature saves a significant amount of developer time and enhances productivity
How we built it
Challenges we ran into
While making API requests, I encountered CORS errors during GET and POST operations due to restrictions on cross-origin resource sharing from the client side. To overcome this issue, I discovered the concept of a proxy server, which acts as an intermediary between the client and the target server. Implementing a CORS proxy resolved the issue effectively.
However, another challenge I faced was extracting JSON data from the AI, which required additional effort and attention.
Accomplishments that we're proud of
We're proud to have developed a tool that empowers users to perform GET, POST, PUT, and DELETE requests seamlessly, all while preserving cookies for a smoother workflow. One of our standout achievements is eliminating the need for developers to laboriously craft lengthy JSON bodies when executing POST, PUT, and DELETE requests. Thanks to our innovative AI functionality, JSON bodies can now be generated automatically, vastly reducing development time and boosting overall productivity.
What we learned
During this project, ilearned about proxy servers and how they aid in network communication and security. Ialso explored Gemini's features to streamline our development process. Understanding regular expressions (regex) allowed us to improve response formatting.
In the future, I aim to enhance our proficiency with proxy servers, Gemini, and regex to improve project efficiency and usability
What's next for Restpilot
Next, I plan to incorporate all the features of Postman into my project. This includes functionalities such as testing APIs, designing requests, and managing collections. Additionally, I aim to introduce a bounty feature where developers can create and complete tasks for rewards within the platform.
Built With
- express.js
- mongodb
- nextauth
- nextjs
- shadcnui
- typescript
Log in or sign up for Devpost to join the conversation.