Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5c19623
initial commit
adamhinckley Oct 29, 2018
11344ef
connected to API and displaying a list of notes
adamhinckley Oct 29, 2018
2250874
end of day monday
adamhinckley Oct 30, 2018
fa90e5b
all logic with axios is no longert done in a hack
adamhinckley Oct 30, 2018
c6c4804
MVP done except for styling
adamhinckley Oct 30, 2018
d106de1
styling done
adamhinckley Oct 31, 2018
d283409
fixed bug with the add-note route
adamhinckley Oct 31, 2018
b8c0654
fixed bug with edit-note functionality
adamhinckley Oct 31, 2018
ae6e6a4
search functionality added
adamhinckley Oct 31, 2018
c061bd6
got markdown working
adamhinckley Nov 1, 2018
9272a3b
login page funtionality added
adamhinckley Nov 1, 2018
a3fe419
added markdown support when viewing a single note
adamhinckley Nov 1, 2018
3bed2a3
a little more styling
adamhinckley Nov 1, 2018
b161545
files moved for netlify
adamhinckley Nov 8, 2018
8bd07b1
changed title on login page
adamhinckley Nov 8, 2018
69dcae2
puch for cesar
adamhinckley Dec 10, 2018
f882ba8
working on getting the client to work with all of the backend
adamhinckley Dec 11, 2018
f2700ce
got app wworkign with all endpoints on the backend
adamhinckley Dec 11, 2018
9fead54
changed api calls to heroku, need to figure out why delete and edit a…
adamhinckley Dec 11, 2018
9a71dd2
All AJAX working with server on heroku
adamhinckley Dec 11, 2018
f72adb8
got search functionality fully implemented
adamhinckley Dec 12, 2018
646da63
updates API URL
adamhinckley Dec 12, 2018
0fe4659
adds login with ternary operator on app.js. Better soliution needed.
adamhinckley Dec 17, 2018
4bf3727
gets login and register pages working
adamhinckley Dec 17, 2018
cd0725f
updates styling on Register.js and other minor changes
adamhinckley Dec 18, 2018
619118c
fixes login bug
adamhinckley Dec 19, 2018
0e3ff3f
cleans up console.logs and adjusts CSS
adamhinckley Dec 19, 2018
5181562
A little more cleanup
adamhinckley Dec 19, 2018
24d23b1
adjusts font size in forms
adamhinckley Dec 19, 2018
8497ea9
switches to local server
adamhinckley Oct 28, 2019
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
node_modules
12 changes: 6 additions & 6 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Notes API

- A server that will deliver notes can be found [here](https://killer-notes.herokuapp.com):
- A server that will deliver notes can be found [here](https://fe-notes.herokuapp.com):

- One thing to be aware of is that this server is a shared resource. Any notes you enter will be viewable to everyone who connects to the server.

Expand All @@ -16,22 +16,22 @@

- There is also an "\_id" attribute, which is a long string of numbers and letters. It is automatically assigned by the server and will be returned as part of the data.

### https://killer-notes.herokuapp.com/note/get/all
### https://fe-notes.herokuapp.com/note/get/all

a `GET` request to this route will return a list of all the notes.

### https://killer-notes.herokuapp.com/note/get/id
### https://fe-notes.herokuapp.com/note/get/id

a `GET` request to this route (with "id" replaced by the note ID) will return the note with the specified ID.

### https://killer-notes.herokuapp.com/note/create
### https://fe-notes.herokuapp.com/note/create

a `POST` request to this route with the title and text in the req.body will create a new note. The response from the server will be the ID of the new note.

### https://killer-notes.herokuapp.com/note/edit/id
### https://fe-notes.herokuapp.com/note/edit/id

a `PUT` request to this route with the title and text in the req body will edit the note with the specified ID. The response from the server will be the updated note object.

### https://killer-notes.herokuapp.com/note/delete/id
### https://fe-notes.herokuapp.com/note/delete/id

a `DELETE` request to this route will delete the note with the specified ID.
2,598 changes: 2,546 additions & 52 deletions README.md

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"main.css": "/static/css/main.3e0e13b9.chunk.css",
"main.js": "/static/js/main.5f266b70.chunk.js",
"main.js.map": "/static/js/main.5f266b70.chunk.js.map",
"static/js/1.5d17f7e2.chunk.js": "/static/js/1.5d17f7e2.chunk.js",
"static/js/1.5d17f7e2.chunk.js.map": "/static/js/1.5d17f7e2.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.229c360f.js",
"runtime~main.js.map": "/static/js/runtime~main.229c360f.js.map",
"static/css/main.3e0e13b9.chunk.css.map": "/static/css/main.3e0e13b9.chunk.css.map",
"index.html": "/index.html",
"precache-manifest.6bdbf8c6417c2bd1606a358f01040b38.js": "/precache-manifest.6bdbf8c6417c2bd1606a358f01040b38.js",
"service-worker.js": "/service-worker.js"
}
Binary file added build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions build/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"><link rel="shortcut icon" href="/favicon.ico"><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"><title>Front End Poject</title><link href="/static/css/main.3e0e13b9.chunk.css" rel="stylesheet"></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 r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={2:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/1.5d17f7e2.chunk.js"></script><script src="/static/js/main.5f266b70.chunk.js"></script></body></html>
15 changes: 15 additions & 0 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
22 changes: 22 additions & 0 deletions build/precache-manifest.6bdbf8c6417c2bd1606a358f01040b38.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
self.__precacheManifest = [
{
"revision": "229c360febb4351a89df",
"url": "/static/js/runtime~main.229c360f.js"
},
{
"revision": "5f266b70c1da5841f20f",
"url": "/static/js/main.5f266b70.chunk.js"
},
{
"revision": "5d17f7e2c9794d0b7a5c",
"url": "/static/js/1.5d17f7e2.chunk.js"
},
{
"revision": "5f266b70c1da5841f20f",
"url": "/static/css/main.3e0e13b9.chunk.css"
},
{
"revision": "f6523a321afc05cb6feea091e99f7ab5",
"url": "/index.html"
}
];
34 changes: 34 additions & 0 deletions build/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
* 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/3.6.2/workbox-sw.js");

importScripts(
"/precache-manifest.6bdbf8c6417c2bd1606a358f01040b38.js"
);

workbox.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.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("/index.html", {

blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
});
2 changes: 2 additions & 0 deletions build/static/css/main.3e0e13b9.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 build/static/css/main.3e0e13b9.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 build/static/js/1.5d17f7e2.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/1.5d17f7e2.chunk.js.map

Large diffs are not rendered by default.

Loading