Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 812 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 812 Bytes

Angular2-NodeJS-TypeScript

This is the basic structure of project based on NodeJS and Angular2 which are using TypeScript.

Usage

Clone this repository

git clone [email protected]:NimaZahedi/Angular2-NodeJS-TypeScript.git

NPM Install

  • Navigate to the root directory
  • Run npm install
  • Navigate to src directory cd src/
  • Run npm install
  • You need to compile ts files, so do that, whatever you want:
    • vscode: you can set a task for that!
    • atom and sublime: you can install typescript packeage and compile ts to js files on save.
    • or simply go to the root folder of application on terminal and run tsc -w so when ever you save any ts files, tsc compiles all ts files to js.
  • Run in command line node server.js
  • Open your browser and go to the http://localhost:3000