Skip to content

alex-whan-401-advanced-javascript/resty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTy

A browser-based, RESTful API testing tool built with React.

Author: Alex Whan

Version: 0.9.4

Visit the RESTy live link here: flamboyant-spence-694af9.netlify.app/

Overview

RESTy is a browser-based, RESTful API testing tool built with React. Users can run the RESTy application in any modern browser, allowing them to quickly and easily interact with APIs and test endpoints in a familiar, intuitive interface.

Development

Development of RESTy will take place over four distinct phases:

Phase 1: Application and Setup

  • Basic scaffolding of the application, including setting up the React boilerplate code and file structure
  • Create a visually appealing site with a Header, Footer, and a large content area
  • Create a form that asks for a URL
  • Create buttons that let the user choose from the REST methods (get, post, put, delete)
  • When the form is filled out, and the button is clicked, display the URL and the method chosen

Phase 2: Testing and Deployment

  • User enters an API URL, chooses a REST Method and clicks the “Go” button to send a request
  • Application fetches data from the URL given, with the method specified
  • Application will retrieve data from the API
  • Displays the response headers and results separately in “pretty printed” JSON format for readability

Phase 3: State and Props

  • Adding more functionality to application, including a menu, history, and an "in-progress"/loading indicator
  • Users can use all REST methods on URL endpoints
  • Application will display a list of all previous queries users have run, saved in local storage
  • Users can click on an old query and have their selections appear in the form for them, without re-typing
  • Add a “loading” indicator while RESTy is fetching data to indicate the application is processing a request

Phase 4: Fit and Finish

  • Implementing navigation/menu bar using React Browser Router
  • Hide output area (headers and results) when there are none to display
  • Separate "History" page with a list of ever previous API call
  • Users can clicking on an entry to show the full details of that query in a separate section on the page
  • Users can consult a static "Help" page for information on how to use RESTy
  • Under-the-hood unit tests, CI/CD, and hosting via Netlify

UML Diagram

RESTy UML - Day 1

About

A browser-based, RESTful API testing tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published