Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ampatspell/kaste
Simple file sharing app built using Ember.js, Firebase and ember-cli-zuglet
https://github.com/ampatspell/kaste
emberjs fileupload firebase firestore sharing storage
Last synced: 2 days ago
JSON representation
Simple file sharing app built using Ember.js, Firebase and ember-cli-zuglet
- Host: GitHub
- URL: https://github.com/ampatspell/kaste
- Owner: ampatspell
- Created: 2020-10-27T06:29:16.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T15:59:13.000Z (5 months ago)
- Last Synced: 2024-05-03T18:12:43.076Z (5 months ago)
- Topics: emberjs, fileupload, firebase, firestore, sharing, storage
- Language: JavaScript
- Homepage: https://kaste.amateurinmotion.com/
- Size: 1.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kaste
![](https://github.com/ampatspell/kaste/raw/master/screenshots/screenshot-1.png)
![](https://github.com/ampatspell/kaste/raw/master/screenshots/screenshot-2.png)
![](https://github.com/ampatspell/kaste/raw/master/screenshots/screenshot-3.png)
![](https://github.com/ampatspell/kaste/raw/master/screenshots/screenshot-4.png)``` bash
# user who can set roles for other users
$ firebase functions:config:set users.admin=""
$ firebase functions:config:set environment.region="europe-west2"
`````` javascript
// make someone uploader
let store = Ember.Namespace.NAMESPACES[0].__container__.lookup('service:store');
await store.setRole('target-uid', 'uploader');
```## Fork
To deploy it in your own firebase project:
* `config.js` → update production environment config
* `firebase/.firebaserc` → set project id for `production````
$ npm install
$ cd firebase/functions && npm install
$ FIREBASE=production npm run deploy:all
```