分享你的工時薪資,面試與工作經驗,讓我們一起改善工作資訊不透明的現況
立刻前往 --> https://www.goodjob.life
- Environment: nodejs 8
- DB: mongodb >= 3.2, redis
See our Contribution Guide
docker-compose run --rm node yarn install
docker-compose run --rm node npm run migrate
docker-compose up
MONGODB_URI
是 mongodb 的連線網址(例:mongodb://localhost/goodjob),
REDIS_URL
是 redis 的連線網址(例:redis://localhost)
注意:請不要拿正式的資料庫做網址,測試將會清除一切資料 Notice: The test will clean all the data in db, please DON'T use db in production
docker-compose run --rm node npm test
docker-compose run --rm node npm run lint
docker-compose run --rm node npm run lint:fix