├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.MD ├── LICENSE ├── PULL_REQUEST_TEMPLATE.MD ├── README.md ├── client ├── App.js ├── components │ └── .keep ├── index.js ├── main.css ├── modules │ ├── App │ │ ├── App.css │ │ ├── App.js │ │ ├── __tests__ │ │ │ ├── App.spec.js │ │ │ └── Components │ │ │ │ ├── Footer.spec.js │ │ │ │ └── Header.spec.js │ │ ├── components │ │ │ ├── Footer │ │ │ │ ├── Footer.css │ │ │ │ └── Footer.js │ │ │ └── Header │ │ │ │ ├── Header.css │ │ │ │ └── Header.js │ │ └── header-bk.png │ ├── Page1 │ │ └── Page1.js │ └── Page2 │ │ └── Page2.js ├── routes.js └── util │ ├── __tests__ │ └── apiCaller.spec.js │ └── apiCaller.js ├── index.js ├── nodemon.json ├── package.json ├── public └── index.html ├── server ├── config.js ├── controllers │ └── post.controller.js ├── models │ ├── __tests__ │ │ └── post.spec.js │ ├── post.js │ └── user.js ├── routes │ ├── index.js │ └── posts.js ├── server.js └── util │ ├── promiseUtils.js │ ├── setup-test-env.js │ └── test-helpers.js ├── webpack.config.babel.js ├── webpack.config.dev.js ├── webpack.config.prod.js └── webpack.config.server.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/ISSUE_TEMPLATE.MD -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/LICENSE -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/PULL_REQUEST_TEMPLATE.MD -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/README.md -------------------------------------------------------------------------------- /client/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/App.js -------------------------------------------------------------------------------- /client/components/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/index.js -------------------------------------------------------------------------------- /client/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/main.css -------------------------------------------------------------------------------- /client/modules/App/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/App.css -------------------------------------------------------------------------------- /client/modules/App/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/App.js -------------------------------------------------------------------------------- /client/modules/App/__tests__/App.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/__tests__/App.spec.js -------------------------------------------------------------------------------- /client/modules/App/__tests__/Components/Footer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/__tests__/Components/Footer.spec.js -------------------------------------------------------------------------------- /client/modules/App/__tests__/Components/Header.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/__tests__/Components/Header.spec.js -------------------------------------------------------------------------------- /client/modules/App/components/Footer/Footer.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/components/Footer/Footer.css -------------------------------------------------------------------------------- /client/modules/App/components/Footer/Footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/components/Footer/Footer.js -------------------------------------------------------------------------------- /client/modules/App/components/Header/Header.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/components/Header/Header.css -------------------------------------------------------------------------------- /client/modules/App/components/Header/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/components/Header/Header.js -------------------------------------------------------------------------------- /client/modules/App/header-bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/App/header-bk.png -------------------------------------------------------------------------------- /client/modules/Page1/Page1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/Page1/Page1.js -------------------------------------------------------------------------------- /client/modules/Page2/Page2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/modules/Page2/Page2.js -------------------------------------------------------------------------------- /client/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/routes.js -------------------------------------------------------------------------------- /client/util/__tests__/apiCaller.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/util/__tests__/apiCaller.spec.js -------------------------------------------------------------------------------- /client/util/apiCaller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/client/util/apiCaller.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/index.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/package.json -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/public/index.html -------------------------------------------------------------------------------- /server/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/config.js -------------------------------------------------------------------------------- /server/controllers/post.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/controllers/post.controller.js -------------------------------------------------------------------------------- /server/models/__tests__/post.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/models/__tests__/post.spec.js -------------------------------------------------------------------------------- /server/models/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/models/post.js -------------------------------------------------------------------------------- /server/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/models/user.js -------------------------------------------------------------------------------- /server/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/routes/index.js -------------------------------------------------------------------------------- /server/routes/posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/routes/posts.js -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/server.js -------------------------------------------------------------------------------- /server/util/promiseUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/util/promiseUtils.js -------------------------------------------------------------------------------- /server/util/setup-test-env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/util/setup-test-env.js -------------------------------------------------------------------------------- /server/util/test-helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/server/util/test-helpers.js -------------------------------------------------------------------------------- /webpack.config.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/webpack.config.babel.js -------------------------------------------------------------------------------- /webpack.config.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/webpack.config.dev.js -------------------------------------------------------------------------------- /webpack.config.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/webpack.config.prod.js -------------------------------------------------------------------------------- /webpack.config.server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UdacityMobileWebScholarship/blood-donation/HEAD/webpack.config.server.js --------------------------------------------------------------------------------