This project was bootstrapped with Create React App.
- Please terminal under the leans-express file, run
tanxiaoxu@asahis-MacBook-Pro leans-express % npm run dev
> leans-express@1.0.0 dev
> nodemon ./index.js
[nodemon] 2.0.19
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node ./index.js`
http://localhost:3000
The server started successfully!!
- In the country root, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
Detail could also find in server termimal:
[nodemon] starting `node ./index.js`
http://localhost:3000
The server started successfully!!
{ name: 'Japan' }
Japan
************
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
- Complete
- Complete
- Complete
- Complete, with integration testing
- Unit testing available
- Article-by-article display
- yes, when npm start, get test terminal also:
/usr/local/bin/npm test
> country@0.1.0 test
> react-scripts test
FAIL src/App.test.js
● Test suite failed to run
Jest encountered an unexpected token
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
- completed; https://countryline.herokuapp.com/