RS School NodeJS course

You can generate a new repository with the same directory structure and files as the template repository using GitHub article: Creating a repository from a template.

N.B. Tasks for which the field "Execute in" wrirtten "template" should be implemented using the template, others - in the student's private repository.


Tasks

Task 1. Caesar cipher CLI tool

Task 2. Express REST service


Tasks execution schemas

Execution in private repository

repository schema

Execution in repository created from template

repository schema

Hints

How to get update from template

  1. Set VSCode as a default GIT editor (it's not mandatory)
  git config --global core.editor "code --wait"
  1. Commit current changes
  2. Add template as the remote repository
  git remote add template https://github.com/rolling-scopes-school/nodejs-course-template.git
  1. Apply changes from template
  git pull template master --allow-unrelated-histories
  1. Apply all your changes
  git checkout --ours ':!node_modules'
  1. Apply all changes
  git checkout --theirs .
  1. Save changes
  git add .
  1. Continue merge
  git commit
  1. Close VSCode tab with commit message. If default editor wasn't changed - quit VIM via :qa