Skip to content

The client repository for Tiny API - A website for developers to quickly create REST endpoints with a static JSON response for testing and development

License

Notifications You must be signed in to change notification settings

cameronhh/tiny-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer active.

Tiny API - A Tiny API To Make Tiny APIs

Website Preview

  • Quickly prototyping some front-end code and need a couple of endpoints to return some static JSON?
  • Perhaps you're integrating a front-end with a back-end that doesn't have a test server?
  • Maybe, you just want to see a website with a memorable user experience?
  • Make an endpoint that returns static JSON in seconds with Tiny API

This repo is the front end code for https://tiny-api.dev. The Tiny API website was created with Create React App.

The code for the server can be found here.

Setting up the development environment

1. Install dependencies

Run npm i or yarn install

2. Set environment variables

The package scripts have been adjusted and assume you have a .env file in the root directory.

Create a .env file with the following variables:

REACT_APP_API_URL=http://localhost:8080
PORT=3000

3. Run the development server

To run the server, run npm run start or yarn start

About

The client repository for Tiny API - A website for developers to quickly create REST endpoints with a static JSON response for testing and development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published