Skip to content

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

License

Notifications You must be signed in to change notification settings

NimaZahedi/Angular2-NodeJS-TypeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published