davidohalloran / GitHunt-angular2

An Apollo with Angular2 full-stack example app: vote for your favorite GitHub repos!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHunt Angular2

An example of a client-side app built with Angular2 and Apollo Client.

Get on Slack Build Status

Please submit a pull request if you see anything that can be improved!

Running the app

0. This repository is only the Angular frontend.

Run the GitHunt API first. (This is temporary, until we have a permanently hosted demo server.)

1. Install Node/npm

Make sure you have Node.js installed (the app has been tested with Node 4.4.5 and 5.3.0)

2. Clone and install dependencies

git clone https://github.com/apollostack/GitHunt-angular2.git
cd GitHunt-angular2
npm install

3. Run the app

npm start
  • Open the client at http://localhost:3000
  • Click "Log in with GitHub" in the upper right corner
  • You'll be presented with the seed items in the app

GitHunt App

Submit a Repo

Click the green Submit button and add repo with the username/repo-name pattern.

GitHunt App

New Item

Review the new item, up vote it and visit the repo via the link.
GitHunt App

About

An Apollo with Angular2 full-stack example app: vote for your favorite GitHub repos!

License:MIT License


Languages

Language:TypeScript 75.0%Language:HTML 22.1%Language:CSS 2.9%