Hahow recruit project, develop repository.
The master branch of the React build version.
https://d50000.github.io/heroes-app/#/heroes
- Download the develop-demo branch.
- Install node.js (for running modules and tools)
npm install
to install the project.npm start
for start the local server.ctrl + c
for stop the server.
-
React ( use by react app )
-
react-dom ( use by react app )
-
react-router-dom ( for the router controller )
-
react-scripts ( for react code )
-
react-transition-group ( for the animation CSS )
-
Bootstrap ( CSS framework )
-
@babel/core ( translate the code for jest )
-
@babel/plugin-proposal-class-properties ( translate the code for jest )
-
@babel/preset-env ( translate the code for jest )
-
@babel/preset-react ( translate the code for jest )
-
@testing-library/react ( test case function for Event and DOM )
-
babel-jest ( use by jest )
-
jest ( test case library )
- For more readable.
- For more efficiently to understand the function.
- Avoid the future me forget it.
- Can't run when route directly to the /heroes/2
- “gh-pages” for online Demo need to use ‘hashrouter’ in the router, local version need to browserrouter.
- Jest run the test case. (not yet)
- jest auto deploy to github server. (done)
Press B at the path /heroes and it will turn to Batman mode.
You can find Joker also.
When commit to the master branch Travis will auto build and deploy to the github server.