cameronhh / tiny-api-client

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

Home Page:https://tiny-api.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://tiny-api.dev

License:MIT License


Languages

Language:TypeScript 58.3%Language:SCSS 32.0%Language:HTML 9.8%