项目作者: sombreroEnPuntas

项目描述 :
Car gallery app
高级语言: JavaScript
项目地址: git://github.com/sombreroEnPuntas/car-gallery.git
创建时间: 2019-01-29T21:47:49Z
项目社区:https://github.com/sombreroEnPuntas/car-gallery

开源协议:

下载


car-gallery

Try it out on Heroku!

Build Status
codecov
Maintainability

Simple web app that allows a user to select their car from a directory of registered cars.

NOTE: Requirements here

On this page

  1. Service
  2. Scripts
  3. CI
  4. Web app

Service

There’s an API service running on a Heroku app to provide data.
It is a dockerized node app, which is available at sombreroenpuntas/car-list-service.
Source code is included also in Dockerfile.

Scripts

The provided web app is built with Next.js.

The following scripts are available:

  1. yarn test // run unit & integration tests with jest
  2. yarn lint // run flow, eslint & prettier code checks
  3. yarn dev // starts dev server locally, with hot reload
  4. yarn build // generate PRD bundle
  5. yarn start // starts PRD server

CI

  • husky enforces linting when committing code (runs locally)
  • Travis CI will pick every push and run test suites, and will trigger a Heroku deploy for master branch.
  • codecov keeps an eye on the test coverage, and codeclimate prevents accumulating technical debt

Web app

There’s a web app deployed as a Heroku app, matching latest master.