GithubHelp home page GithubHelp logo

tweedstudy-react's Introduction

TweedStudy in React

Our Tech Stack

  • Front-end: React
  • Back-end: Express and MongoDB

Installation

  1. git clone https://github.com/dphuang2/tweedstudy-react.git
  2. Install MongoDB https://docs.mongodb.com/manual/installation/
  3. Setup MongoDB to use /data/db
  • sudo mkdir -p /data/db
  • sudo chown -R <your username> /data/db
  1. npm install <-- this will install all the node modules for react
  2. npm install -g nodemon <-- this will allow you to run nodemon from command line - this is used for watching changed files and restarting the server when files change

Usage

  • To start the front-end react server: npm start
  • To start MongoDB database: npm run db <-- You must start your database before you start your server...duh
  • To start the back-end express server: npm run server

TODO

General notes

please checkout a new branch with git checkout -b <branch name> so that you are not messing with anyone else's code when you push to GitHub. After you each complete your tasks, each team will make pull requests with all their code onto the master branch and we can deal with conflicts then.

Team #1 notes (Recreating Twitter feed)

Use npm start to test your code. The folder that you need to focus on is src/. Remember it is good practice to create new folders for each component you make. Fake data for you to generate the tweets is inside "data/tweets.json".

Team #2 notes (Recreating slider that can filter Twitter data [stored in a variable])

Use npm start to test your code. The folder that you need to focus on is src/. Remember it is good practice to create new folders for each component you make. Fake data is inside tweets.json in "data/tweets.json". Try and query for tweets with a retweet count above 0 and print the resulting tweets to screen (or just make a simple list of tweets with their texts).

Team #3 notes (Interface with Twitter's API)

Look inside server.js and implement Twitter API requests under "TODO". Use npm run server to test your code. You don't need to install MongoDB yet or save anything to the database but it is worth your time to understand how a REST API works as well as looking inside the api/ folder to see how a basic Todo app could be setup. You have to go to Twitter's dev website and create an application to receieve API keys to make your API calls. You should probably use a JavaScript library for making the calls (or you can form your own requests and do that as well, both methods are good).

tweedstudy-react's People

Contributors

ankithsubramanya avatar cherylqian avatar ddsnowboard avatar dphuang2 avatar kristenvaccaro avatar owoengineer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  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.