Skip to content

Web app created with the Mongo/Express/Angular/Node

Notifications You must be signed in to change notification settings

bill-c-martin/OlympicsMEAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Olympics MEAN App

This is an app built on the MEAN Stack while following along with the "Firing a Tracer Bullet", "Anchor Links, Routes, and Medals", and "Adding New Medals" screencasts concluding codeschool.com's MEAN Stack path:

  • MongoDB
  • Express
  • Angular
  • Node.js

Running on Localhost

  1. Install the following:
  2. nodejs
  3. mongodb
  4. mongodb-tools, which is needed for its mongoimport util for DB seeding
  5. Run $ npm install from inside this project root to resolve dependencies
  6. Seed the database by running the following from inside the project root:
  7. $ mongoimport --db olympics-dev --collection sports --type json --file server/sports-seed.json --jsonArray --drop
  8. Run the mongod server from anywhere: $ mongod
  9. Run the node server by going to the project root and running: $ node server/app.js
  10. A status should display confirming that it's Listening on 8181
  11. Another status should confirm that it is Connected to Mongo.
  12. Go to http://localhost:8181/ in the browser to render the app

Developing

  1. Run $ npm run watch in the project root to start transpile watch. This command will read files under client/src and generate a single file under client/dist/bundle.js, which is included by index.html

About

Web app created with the Mongo/Express/Angular/Node

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • CSS 64.9%
  • JavaScript 23.4%
  • HTML 11.7%