Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 22 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,43 @@
![CF](http://i.imgur.com/7v5ASc8.png) LAB
=================================================
# ![CF](http://i.imgur.com/7v5ASc8.png) LAB

## Project Name
## Todo List using React Context API

### Author: Student/Group Name
### Author: Jagdeep Singh

### Links and Resources
* [submission PR](http://xyz.com)
* [travis](http://xyz.com)
* [back-end](http://xyz.com) (when applicable)
* [front-end](http://xyz.com) (when applicable)

- [submission PR](https://github.com/401-advanced-javascript-js/lab-33-todo-contextAPI/pull/1)
- [travis](https://travis-ci.com/401-advanced-javascript-js/lab-33-todo-contextAPI)
- [front-end](https://sad-northcutt-385f97.netlify.com/)

#### Documentation
* [api docs](http://xyz.com) (API servers)
* [jsdoc](http://xyz.com) (Server assignments)
* [styleguide](http://xyz.com) (React assignments)

### Modules
- [styleguide](styleguide/index.html)

<!-- ### Modules

#### `modulename.js`

##### Exported Values and Methods

###### `foo(thing) -> string`

Usage Notes or examples

###### `bar(array) -> array`
Usage Notes or examples

Usage Notes or examples -->

### Setup
#### `.env` requirements
* `PORT` - Port Number
* `MONGODB_URI` - URL to the running mongo instance/db

#### Running the app
* `npm start`
* Endpoint: `/foo/bar/`
* Returns a JSON object with abc in it.
* Endpoint: `/bing/zing/`
* Returns a JSON object with xyz in it.


- `npm start`

#### Tests
* How do you run tests?
* What assertions were made?
* What assertions need to be / should be made?

- How do you run tests? `npm test`

#### UML
Link to an image of the UML for your application and response to events

![UML](assets/uml.jpeg)
Binary file added assets/uml.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"files": {
"main.js": "/static/js/main.55b6ec14.chunk.js",
"main.js.map": "/static/js/main.55b6ec14.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.768ea324.js",
"runtime~main.js.map": "/static/js/runtime~main.768ea324.js.map",
"static/js/2.357f0d27.chunk.js": "/static/js/2.357f0d27.chunk.js",
"static/js/2.357f0d27.chunk.js.map": "/static/js/2.357f0d27.chunk.js.map",
"static/css/3.0351ede5.chunk.css": "/static/css/3.0351ede5.chunk.css",
"static/js/3.53157a55.chunk.js": "/static/js/3.53157a55.chunk.js",
"static/js/3.53157a55.chunk.js.map": "/static/js/3.53157a55.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.01b81f55a5d6aa6d08f8224fef754607.js": "/precache-manifest.01b81f55a5d6aa6d08f8224fef754607.js",
"service-worker.js": "/service-worker.js",
"static/css/3.0351ede5.chunk.css.map": "/static/css/3.0351ede5.chunk.css.map"
}
}
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var t,r,n=e[0],o=e[1],a=e[2],u=0,i=[];u<n.length;u++)r=n[u],p[r]&&i.push(p[r][0]),p[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(l[t]=o[t]);for(h&&h(e);i.length;)i.shift()();return s.push.apply(s,a||[]),c()}function c(){for(var e,t=0;t<s.length;t++){for(var r=s[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==p[a]&&(n=!1)}n&&(s.splice(t--,1),e=d(d.s=r[0]))}return e}var r={},f={1:0},p={1:0},s=[];function d(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(s){var e=[];f[s]?e.push(f[s]):0!==f[s]&&{3:1}[s]&&e.push(f[s]=new Promise(function(e,n){for(var t="static/css/"+({}[s]||s)+"."+{3:"0351ede5"}[s]+".chunk.css",o=d.p+t,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var u=(l=r[a]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===t||u===o))return e()}var i=document.getElementsByTagName("style");for(a=0;a<i.length;a++){var l;if((u=(l=i[a]).getAttribute("data-href"))===t||u===o)return e()}var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.onload=e,c.onerror=function(e){var t=e&&e.target&&e.target.src||o,r=new Error("Loading CSS chunk "+s+" failed.\n("+t+")");r.request=t,delete f[s],c.parentNode.removeChild(c),n(r)},c.href=o,document.getElementsByTagName("head")[0].appendChild(c)}).then(function(){f[s]=0}));var r=p[s];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=p[s]=[e,t]});e.push(r[2]=t);var n,a=document.createElement("script");a.charset="utf-8",a.timeout=120,d.nc&&a.setAttribute("nonce",d.nc),a.src=d.p+"static/js/"+({}[s]||s)+"."+{3:"53157a55"}[s]+".chunk.js",n=function(e){a.onerror=a.onload=null,clearTimeout(u);var t=p[s];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,o=new Error("Loading chunk "+s+" failed.\n("+r+": "+n+")");o.type=r,o.request=n,t[1](o)}p[s]=void 0}};var u=setTimeout(function(){n({type:"timeout",target:a})},12e4);a.onerror=a.onload=n,document.head.appendChild(a)}return Promise.all(e)},d.m=l,d.c=r,d.d=function(e,t,r){d.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(t,e){if(1&e&&(t=d(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(d.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)d.d(r,n,function(e){return t[e]}.bind(null,n));return r},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,"a",t),t},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.p="/",d.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var h=n;c()}([])</script><script src="/static/js/2.357f0d27.chunk.js"></script><script src="/static/js/main.55b6ec14.chunk.js"></script></body></html>
26 changes: 26 additions & 0 deletions docs/precache-manifest.01b81f55a5d6aa6d08f8224fef754607.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
revision: '41cfda2183a20915e65a38d88ce1ddd8',
url: '/index.html',
},
{
revision: '13f0d3c434e9b7c80904',
url: '/static/css/3.0351ede5.chunk.css',
},
{
revision: '9b27a503fd3131ff05c5',
url: '/static/js/2.357f0d27.chunk.js',
},
{
revision: '13f0d3c434e9b7c80904',
url: '/static/js/3.53157a55.chunk.js',
},
{
revision: 'c27fb43b396f2724a167',
url: '/static/js/main.55b6ec14.chunk.js',
},
{
revision: '629f77748bd769a134d2',
url: '/static/js/runtime~main.768ea324.js',
},
]);
39 changes: 39 additions & 0 deletions docs/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.01b81f55a5d6aa6d08f8224fef754607.js"
);

self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});

workbox.core.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {

blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
});
2 changes: 2 additions & 0 deletions docs/static/css/3.0351ede5.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/static/css/3.0351ede5.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/static/js/2.357f0d27.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/static/js/2.357f0d27.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/static/js/3.53157a55.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/static/js/3.53157a55.chunk.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/static/js/main.55b6ec14.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading