https://github.com/matt-dionis/tweet-dashboard
An Angular CLI project with Express server, Socketio, and Twitter API integration for section 8 of Building Data Visualizations with D3 and Angular
https://github.com/matt-dionis/tweet-dashboard
Last synced: 6 months ago
JSON representation
An Angular CLI project with Express server, Socketio, and Twitter API integration for section 8 of Building Data Visualizations with D3 and Angular
- Host: GitHub
- URL: https://github.com/matt-dionis/tweet-dashboard
- Owner: Matt-Dionis
- Created: 2016-12-11T22:01:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T14:29:27.000Z (over 8 years ago)
- Last Synced: 2025-03-24T17:51:52.994Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 72.3 KB
- Stars: 4
- Watchers: 1
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TweetDashboard
This project (other than the Express server) was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0.## Twitter API
Visit the [Twitter dev page](https://apps.twitter.com/) and create a basic application to gain access to necessary API credentials.
Set CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN_KEY, ACCESS_TOKEN_SECRET in `server.js`.## Development server
Run `npm install` to install all dependencies (d3, express, socket.io, and twitter libs have been added to this otherwise stock Angular CLI project).
Run `npm run serve-build` for a dev server. Navigate to `http://localhost:3000/`.Note: This project was recently updated to Angular v2.3.1, Angular-CLI v1.0.0, and TypeScript v2.0.10. For a clean build run:
```
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli
npm install -g @angular/cli@latest
rm -rf node_modules dist
npm install
```## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class`.## Further help
To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
To reach out to me personally, contact me on Twitter [@mattdionis](https://twitter.com/MattDionis)