This Node.js application is a simple app to play with an array of Game of Thrones characters and test the type control features that TypeScript offers. The TypeScript script app.ts calls some functions on this array and the result is returned to the frontend index.html.
-
It is required to have Node.js installed
-
If you do not have installed Node.js in your machine then go to this link in order to install node.
- Clone this repository.
git clone [email protected]:carmelag/typescript-GOT.git
-
Go to the cloned directory (e.g.
cd typescript-GOT
). -
Run
npm install
to install the packages from package.json file -
Run
npm start
to start the script. Npm command will automatically open the default browser on [localhost:3000](localhost:3000.