https://github.com/learosema/yesno-clone
Clone of yesno.wtf
https://github.com/learosema/yesno-clone
Last synced: about 1 year ago
JSON representation
Clone of yesno.wtf
- Host: GitHub
- URL: https://github.com/learosema/yesno-clone
- Owner: learosema
- Created: 2020-02-15T22:02:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T14:53:09.000Z (over 3 years ago)
- Last Synced: 2025-03-28T06:11:09.199Z (about 1 year ago)
- Language: TypeScript
- Size: 2.45 MB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a clone of the https://yesno.wtf/ API service.
The backend is an express server with a single `/api/yesno` endpoint. It consumes the GIPHY API to provide random gifs per request.
The frontend is a parcel react typescript app.
I created this project to learn how to proxy an API backend server to the parcel dev server.
## Demo
https://cyclic-answer-cp5suop80n.glitch.me/
## Running it locally
- Add a GIPHY_API_KEY into the `backend/.env` file (see example.env there)
- `npm install` in the root folder
- `npm install` in the backend folder
- `npm install` in the frontend folder
- `npm start`