Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bjarneo/giggle

Roc web app example. Based on Imgur most viral images.
https://github.com/bjarneo/giggle

imgur roc

Last synced: 3 days ago
JSON representation

Roc web app example. Based on Imgur most viral images.

Awesome Lists containing this project

README

        

Giggle
======

[giggle.now.sh](https://giggle.now.sh/)
--

This is an example of how to write an basic application based on [Roc](https://github.com/rocjs/roc) and [roc-package-web-app-react](https://github.com/rocjs/roc-package-web-app-react).

To test this application you need to create a client at imgur.com.
`https://api.imgur.com/oauth2/addclient`

Add the `client id` and `client secret` to `config/default.json`.

![Screenshot](https://i.imgur.com/sEnRDDk.png)

Get up and running
------
Remember to rename `default.json.dist` file to `default.json`
```bash
$ mv config/default.json.dist config/default.json
```

```bash
$ npm install
```

Development
```bash
$ npm run dev
```

Production
```bash
$ npm run build
$ npm start
```

Docker
------
```bash
$ npm run docker-build
$ npm run docker-run
```
Now run `npm start` from within the docker instance

License
------
MIT-licensed. See LICENSE.