https://github.com/andreypelykh/inventory-app
ng-book second app
https://github.com/andreypelykh/inventory-app
Last synced: over 1 year ago
JSON representation
ng-book second app
- Host: GitHub
- URL: https://github.com/andreypelykh/inventory-app
- Owner: andreypelykh
- Created: 2016-11-25T14:20:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T07:56:13.000Z (over 9 years ago)
- Last Synced: 2025-01-14T08:27:49.701Z (over 1 year ago)
- Language: TypeScript
- Size: 598 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ng-book 2: Simple Reddit-like App
> A simple voting app that resembles a minimal-reddit link voting app in Angular 2.
## Dependencies
Before you get started, you need to make sure you have node.js installed. We'll be using `npm` to run this project (`npm` will be installed when you install node.js). You can [install node.js here](https://nodejs.org/en/).
## Installing
First, you need to make sure you install the dependencies:
```
npm install
```
Then we will
- compile our TypeScript code and
- host the app on local development server
by running the command:
```
npm run go
```
Then visit [http://localhost:8080](http://localhost:8080) in your browser. You should see an application with the header `Angular 2 Simple Reddit`.
## Getting Help
In the case where it doesn't work, the first thing to try is looking at the developer console in your browser.
If that doesn't work, [come chat with us](https://gitter.im/ng-book/ng-book)!
## Other Files (advanced)
> What are all the other files in this repo?
- `tsconfig.json` - this is instructions for our TypeScript compiler
- `tslint.json` - `tslint` is a program and helps enforce rules about code style. The `tslint.json` is the config file that specifies conventions for this project.
- `vendor` - for this project we're using [Semantic-UI](http://semantic-ui.com/) for the CSS. We've included the CSS files from Semantic here.
- `resources` - this is where we store a few images