Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jovannypcg/randomizer
Frontend application written in Elm. Demonstrates how TEA works.
https://github.com/jovannypcg/randomizer
Last synced: 21 days ago
JSON representation
Frontend application written in Elm. Demonstrates how TEA works.
- Host: GitHub
- URL: https://github.com/jovannypcg/randomizer
- Owner: jovannypcg
- Created: 2017-09-18T18:30:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-02T22:19:30.000Z (over 7 years ago)
- Last Synced: 2024-11-02T02:42:40.655Z (2 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Randomizer
Simple frontend application that demonstrates how TEA works.
Its functionality includes generation of random strings, showing gifs using a
public API and random jokes from the Chuck Norris database.![Mockup](https://s26.postimg.org/srld23h95/randomizer.png)
### Install:
Clone this repo:
```
git clone https://github.com/jovannypcg/randomizer.git
cd randomizer
```Install all dependencies using the handy `reinstall` script:
```
npm run reinstall
```
*This does a clean (re)install of all npm and elm packages, plus a global elm install.*### Serve locally:
```
npm start
```
* Access app at `http://localhost:8080/`
* Get coding! The entry point file is `src/elm/Main.elm`
* Browser will refresh automatically on any file changes..### Build & bundle for prod:
```
npm run build
```* Files are saved into the `/dist` folder
* To check it, open `dist/index.html`