This repository is an answer to a given example full-stack challenge which consists of both UI app and server api app.
Here three things to be changed based on initial feedbacks from Mr.J.
Fixed some misunderstanding on general acceptance criterias.
RESOLVED
report should not be rendered on UI- PUT args should not include
report id
Added missing unit-tests structure in both server and UI.
Server
UI
Cleaned-up source-codes by deleting unnecessary comments and tidying-up project structure.
Some commands available via NPM to help druing developments ui package.json
UI
npm run start
: start local dev servernpm run test
: run jest unit test with coverage generationnpm run htmlcov
: open coverage reports on browser
Pre Requirements
- latest
node
andnpm
is installed properly docker
is installed properly
Process
-
Clone repository
git clone git@github.com:tatsuya-iskw/coding-challenge-answer.git
-
Build docker image and run server app on a docker
$ cd ./coding-challenge-answer/server
$ docker-compose build --no-cache
$ docker-compose up
- Install dependencies and run ui app on a local node dev server
$ cd ./coding-challenge-answer/ui
$ npm install
$ npm run start