https://github.com/camhahu/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
https://github.com/camhahu/tiny-api-client
api create-react-app json react rest scss typescript
Last synced: 6 months ago
JSON representation
The client repository for Tiny API - A website for developers to quickly create REST endpoints with a static JSON response for testing and development
- Host: GitHub
- URL: https://github.com/camhahu/tiny-api-client
- Owner: camhahu
- License: mit
- Created: 2021-01-03T13:49:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-27T08:04:25.000Z (over 4 years ago)
- Last Synced: 2025-07-12T05:34:32.370Z (12 months ago)
- Topics: api, create-react-app, json, react, rest, scss, typescript
- Language: TypeScript
- Homepage: https://tiny-api.dev
- Size: 373 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**_This project is no longer active._**
# [Tiny API](https://tiny-api.dev) - A Tiny API To Make Tiny APIs

- *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](https://tiny-api.dev)***
This repo is the front end code for [https://tiny-api.dev](https://tiny-api.dev). The Tiny API website was created with [Create React App](https://github.com/facebook/create-react-app).
***The code for the server can be found [here](https://github.com/cameronhh/tiny-api).***
## 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`