feedy
Version:
feedback widget using Webcom
87 lines (60 loc) • 2.26 kB
Markdown
# Feedy
[](https://travis-ci.org/webcom-components/feedy)
[](https://david-dm.org/webcom-components/feedy)
[](https://david-dm.org/webcom-components/feedy#info=devDependencies)
[](https://github.com/semantic-release/semantic-release)
Feedback widget for your web apps. Made with [Webcom][webcom-link]
## Features
- [x] Send feedback
- [x] Make screenshot on demand
- [x] Save useragent
- [ ] Add custom data
- Authentication
- [x] Authentication into [Webcom][webcom-link]
- [ ] Authentication with third-party
- [ ] Anonymous user (give arbitrary email)
- [ ] Secure namespace
- [ ] Comments on feedbacks
- [x] [Admin website][admin-link]
- [ ] Deactivate widget if needed
## How to use it
Add this markup into your website
```html
<script src="https://npmcdn.com/feedy@latest/dist/feedy.js"></script>
```
Add this markup at the end of <body>
```html
<script>
feedy({
// optional, default is 'https://webcom.orange.com/base/feedy'
namespaceUrl: 'https://webcom.orange.com/base/<YOUR_NAMESPACE>',
// optional, default is 'general'
appName: '<YOUR_APP_NAME>'
// optional, screenshot activated. Default is true
screenshot: true or false
});
</script>
```
## How to contribute
Ensure you have [node][node-link] greater than version 4 (Code contains es6 syntax)
### Installation
1. Get repo with `git clone https://github.com/webcom-components/feedy.git`
2. Run `npm install` to install the dependencies
### Development server (with hot reload)
```bash
npm start
```
Go to `http://localhost:8080` and you should see the app running!
### Build for production
```bash
npm run build
```
Output files are copied to `dist` folder
### Serve production files
```bash
npm run serve
```
## License
This project is licensed under the MIT license
[webcom-link]: https://webcom.orange.com/
[admin-link]: https://github.com/webcom-components/feedy-admin