Skip to content

MisherLiu/nodejs-training

 
 

Repository files navigation

NodeJS Training Project

Setup

  • Fork this project
  • update package.json, maintain your own package name, and other information like author.
  • maintain the author in the training.config.json
  • start your work

For Trainee

  • maintain the specs in the training.config.json file
  • npm run download to get the latest tests cases
  • npm run test & generate the test cases in the src/cases directory for training
  • adjust the generated cases & make all test cases passed
  • commit & push to github, then github will automatic check your cases

For Trainer

  • maintain the role in the training.config.json file
  • maintain the specs in the training.config.json file, replace the training001 with a unique id like corp-a-b-training-001
  • maintain the specs definitions in src/tests like src/tests/basics/sum-1.js
  • self test
  • npm run upload to publish
  • share the specs link to your trainees

Components

Github Integration

This project is integrated github with workflow, once you fork/update your repository (on github), the workflow will be executed automaticly.

Commit Lint

This project will lint the commit message, just ref this document

ESLint

This project will lint the javascript style by eslint, but the code could be automatic fixed by vscode predefined configuration

Jest

This project is based on the Jest test framework

About

nodejs training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%