Skip to content

omasopust/luncher

 
 

Repository files navigation

luncher

Build Status

Accessible lunch menus.

Install

npm i

Test

npm test

Configure

Get environment variables

heroku config --app sbks-luncher | sed '1d' | sed 's/: */=/' > .env

Or you can get if from maintainers

.env structure

PORT=3000
NODE_ENV=development
# necessary for server/service communication
CLOUDAMQP_URL=amqp://....
# when you need caching to work
MEMCACHEDCLOUD_PASSWORD=...
MEMCACHEDCLOUD_SERVERS=...
MEMCACHEDCLOUD_USERNAME=...
# when you want to use slack notifier
URL=http://localhost:8080/
SLACK_API_TOKEN=...
ZOMATO_USER_KEY=...

Run

heroku local
# or
npm run server
npm run service

Structure

bin - one-off scripts like slack notifier

client - frontend

lib - common code shared between server & service, possibly frontend

server - web server related code like routes

service - worker related code like scrappers

About

Accessible lunch menus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%