orghub/notification-service
Notification service for OrgHub app
Deployed @ https://orghub-notification-service.now.sh/api/v1
Endpoints
Endpoint | Method |
---|---|
/notifications/:org | GET, PUT, POST, DELETE |
/payload | POST |
Commands
npm run dev
: Start development live-reload servernpm run build
: Build project to /dist foldernpm start
: Build and run project from /dist folder as in productionnpm test
: Run testsnpm run coverage
: Run test coverage using nyc, outputs report to /test/coveragenpm run coveralls
: Run test coverage using nyc & send report to coveralls (must have specified repo_token in .coveralls.yml)npm run lint
: Run eslint
Docker Support
docker build -t orghub/notification-service .
docker run -p 8080:8080 orghub/notification-service
Publish to now
npm install now -g
now && now alias
# wait a bit..
# visit url
Author
- Olle Lauri Boström (ollebostr@gmail.com)
License
Licensed under the MIT License.