Coder Social home page Coder Social logo

fabbous / trendgame Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marvelousmovingminds/trendgame

0.0 1.0 0.0 668 KB

Find out when interest in a topic peaked and why

Home Page: https://trend-game.herokuapp.com/

JavaScript 87.28% HTML 6.28% CSS 6.44%

trendgame's Introduction

TrendGame

Only the trendiest. Search Google Trends for any topic of interest and see news articles corresponding to spikes in interest.

Team

Usage

Go to URL: https://trend-game.herokuapp.com/

Requirements

Development

Installing dependencies

From the root directory:

npm install

Initializing the database

Deployed Heroku Postgres DB:

  1. Provision your app with a Heroku Postgres db.
  2. Find the db's url in the config vars for your app and copy it.
  3. Paste it in setupDatabse.js as per the instructions in that file.
  4. Use node to run setupDatabase.js. If you get 3 console log statements confirming table creation, you're good to go!

Local DB:

  1. Install a local version of PostgreSQL. Recommend using brew to manage installation.
  2. Create a db in your local PostgreSQL server cluster.
  3. Follow the instructions in dbLocalConnection.DUMMY.js and populate it with the information for the db/user.
  4. Edit setupDatabase.js to point at your local DB. NOTE: The instructions and structure in this file are intended for populating deployed Heroku Postgres dbs with the schema. For a local DB, just point the connection at your local db by setting the connection in require('knex') to your local db's information. You can find this information in dbLocalConnection.js (assuming you've made it as per step 3).
  5. Use node to run setupDatabase.js. If you get 3 console log statements confirming table creation, you're good to go!

Running locally

From the root directory:

  1. In one terminal window, run > npm run dev
  2. In another terminal window, run > npm run start:watch
  3. go to http://127.0.0.1:8080
  4. Don't forget you'll need an Aylien News API key

Roadmap

View project roadmap

View app plan (includes schemas and architecture diagrams, etc)

Contributing

See CONTRIBUTING.md for contribution guidelines.

trendgame's People

Contributors

epan avatar aseiden avatar dufufeisdu avatar bhattprateek avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.