Skip to content

sspringer82/js-basics

Repository files navigation

JavaScript Basics

Contents

  • Um was geht es im Projekt
  • Wie starte ich das Projekt
  • Bekannte Fehler/Probleme

Struktur:

  • .gitignore
  • package.json: npm init -y => legt die Datei an
  • README.md

Links

Start der App

(installation eines Pakets: npm install is-odd)

Bei einer bestehenden Applikation: npm install

npm start => scripts > start npm run start:dev => scripts > start:dev

TypeScript

npm install typescript => lokale installation von typescript npx tsc --init => tsconfig erzeugen npx tsc => transpile it! Alternativ npm script in der package.json

FE/BE example

npm i http-server json-server

npm run frontend => frontend script in package.json npm run backend => backend script in package.json

Node example

npm install axios

npm run backend => backend script in package.json npx ts-node src/userData.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published