This practice we should complete by Node which is a Javascript runtime in server-side not browser.
- How to export and import a module in node
- What is npm and package.json
- Why Javascript can still work without the browser
- Install Node and Npm in your local machine
- Make all test pass by npm test
- Node Js
- NPM
Fork this repo to your own repo site in Github
Open your terminal, change to any path and clone this repository:
git clone `forked repo site`
Install dependencies:
npm install
Run all tests:
npm test
Run a specific test file:
node_modules/jasmine/bin/jasmine.js spec/main-spec.js
You can find these two key folders when you open the repository with your favorite code editor:
spec //Test code, stands for specifications
src //Source code you should implementation
- You should implement the code to pass all tests in spec folder, and push your repo to GitHub repo named node-js-get-started.
- Commit your repository link to complete this Question.