Your world. Your map. Your breadcrumbs.
- Product Owner: Kris Albert Lee
- Scrum Master: Dakota Peel
- Development Team Members: Justin Shaw, Kevin Weng
For development, run node (or nodemon) "server.js" to begin running the server. From there, it is a good idea to run "webpack --watch" while making changes to the client-side (React.js) code, so that it re-compiles as changes are saved. If you opt not to run "webpack --watch", you will still need to run "webpack" at least once, the first time, to compile the JavaScript into a file that will be called "bundle.js".
- "babel": "^6.3.26",
- "babel-core": "^6.4.0",
- "babel-loader": "^6.2.1",
- "babel-preset-es2015": "^6.3.13",
- "babel-preset-react": "^6.3.13",
- "body-parser": "^1.14.2",
- "express": "^4.13.3",
- "history": "^1.17.0",
- "moment": "^2.11.0",
- "mongoose": "^4.3.5",
- "react": "^0.14.6",
- "react-dom": "^0.14.6",
- "react-router": "^1.0.3",
- "webpack": "^1.12.10",
- "webpack-dev-server": "^1.14.0"
From within the root directory:
npm install
URL | METHOD | RES BODY | REQ BODY |
---|---|---|---|
/signup | GET | ||
/login | POST | ||
/api/users | GET | JSON(users) | username: str |
/api/users | POST | JSON(user) | username: str, name: str, avatar: str |
/api/users | DELETE | JSON(user) | username: str |
/api/maps/:username | GET | JSON(pin) | |
/api/maps/:username | POST | JSON(pin) | pin: obj |
/api/maps/:username | DELETE | JSON(pin) | _id: str |
/api/maps/:username | PUT | JSON(pin) | _id: str, newPin: pinObj |
Make sure to exclude public/bundle.js in .gitignore while pushing to herokuapp.
Contact any of the current Breadcrumbs team members (https://github.com/scintillating-doughnut/skepticaltheremin) to learn how to get involved in the project!