GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cpppd/cs50seminar-meteor-react

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.meteor
.meteor
 
 
client
client
 
 
dump
dump
 
 
imports
imports
 
 
private
private
 
 
public
public
 
 
server
server
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 
people.json
people.json
 
 
titles.json
titles.json
 
 

Repository files navigation

CS50 Seminar: Meteor.js + ReactJS

Requirements

  • Meteor.js (MongoDB and other packages will be installed automatically when you run meteor)

Preferable

  • OSX makes things infinitely simpler
  • Google Chrome or another browser with a Javascript inspector
  • [React Developer Tools] (https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi)
  • [Robomongo 0.9.0 RC10] (https://robomongo.org/download)

Instructions

  1. git clone https://github.com/alan-xie/cs50seminar-meteor-react.git

  2. Meteor.js Installation

  • OSX
    • curl https://install.meteor.com/ | sh
  • Windows
    • Installation
  1. We need to install React dependencies that make our app work. In the cs50seminar-meteor-react directory, run this command in Terminal: meteor npm install --save react react-dom react-addons-pure-render-mixin react-addons-transition-group react-addons-css-transition-group react-addons-linked-state-mixin react-addons-create-fragment react-addons-update react-addons-test-utils react-addons-perf

  2. Run meteor inside the cs50seminar-meteor-react directory!

  3. Run mongorestore --host 127.0.0.1 --port 3001 --db meteor dump/meteor in the cs50seminar-meteor-react directory. If you receive an error, you may have to right-click each of your existing collections in Robomongo and select "Drop Collection." Then, rerun the mongorestore command.

Useful commands

  • meteor
    • In the Meteor app directory, runs the app
  • mongodump --host 127.0.0.1 --port 3001 --db meteor
    • While meteor is running, dumps the entire database into dump/meteor in the current directory
  • mongorestore --host 127.0.0.1 --port 3001 --db meteor dump/meteor
    • While meteor is running, restores a db from a dump in the format dump/meteor
  • mongoexport --host 127.0.0.1 --port 3001 --db meteor --collection titles --fields 'title,theatrical_release,domestic_gross,poster_url' --out titles.json
    • While meteor is running, exports the collection called titles with a specific subset of fields to titles.json
  • mongoimport --host 127.0.0.1 --port 3001 --db meteor --collection titles --file titles.json
    • While meteor is running, imports the file titles.json to the collection called titles

Useful reading

  • [React Component Lifecycle] (https://facebook.github.io/react/docs/component-specs.html)
  • [Meteor.publish and Meteor.subscribe] (https://www.meteor.com/tutorials/react/publish-and-subscribe)

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.