Skip to content

Blumi102/S1D0_SettingUp

Repository files navigation

Section 1 - Basic Software Programming

▶️ S1D0 - Setting Up

Lead: @Blumi102 (Michelle Blumenstein)

Steps to create the node projects which we'll use as template:

  1. git init
  2. npm init -y (main: app.ts)
  3. npm install -D typescript
  4. npm install -D ts-node
  5. npm install -D @types/node
  6. npm install -S express
  7. npm install -D @types/express
  8. mkdir src
  9. touch src/app.ts
  10. tsc --init
  11. tsconfig.json add: "exclude": ["node_modules", "./build"]
  12. npm install -D nodemon
  13. npm install -D eslint
  14. ./node_modules/.bin/eslint --init
    1. (TODO: give configuration)
  15. add rule "no-console": false
  16. touch .eslintignore
  17. auto-format (Visual Studio Code specific)
    1. donlowad eslint extension
    2. check that it is enabled in the bottom right corner
    3. mkdir .vscode
    4. touch .vscode/settings.json
    5. modi
  18. add script "start": "tsc && node app.ts"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published