Simplicity is the ultimate sophistication.
+diff --git a/README.md b/README.md index fe82c877725..cd3b9e8152c 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,19 @@ This repository is the starter code for the project: Students will fork and clon - Express - Node 5.10.x or above + +## Final Product + +- Main page that displays user, a tweet form and past tweets +!["Main"](docs/main.png) + +- User can create new tweet of upto 140 characters. +!["New-Tweet"](docs/new-tweet.png) + +- Displays error if user does not enter text or input>140 characters +!["Error"](docs/error.png) + +- Provides view on mobile device. +!["Mobile"](docs/mobile.png) + + diff --git a/docs/error.png b/docs/error.png new file mode 100644 index 00000000000..6b62f56d1ed Binary files /dev/null and b/docs/error.png differ diff --git a/docs/main.png b/docs/main.png new file mode 100644 index 00000000000..67b7cead682 Binary files /dev/null and b/docs/main.png differ diff --git a/docs/mobile.png b/docs/mobile.png new file mode 100644 index 00000000000..83558e8e429 Binary files /dev/null and b/docs/mobile.png differ diff --git a/docs/new-tweet.png b/docs/new-tweet.png new file mode 100644 index 00000000000..302d6f488cb Binary files /dev/null and b/docs/new-tweet.png differ diff --git a/package-lock.json b/package-lock.json index 8177739a4db..5761745aaed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -854,7 +854,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -875,12 +876,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -895,17 +898,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -1022,7 +1028,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -1034,6 +1041,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -1048,6 +1056,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -1055,12 +1064,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -1079,6 +1090,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -1159,7 +1171,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -1171,6 +1184,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -1256,7 +1270,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -1292,6 +1307,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -1311,6 +1327,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -1354,12 +1371,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index d15d1347798..40ad1ff34ca 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { - "name": "tweeter", - "version": "1.0.0", - "description": "A twitter clone by Lighthouse Labs for web bootcamp students to learn front-end dev skillz", - "main": "server/index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server/index.js", - "local": "./node_modules/.bin/nodemon --watch server -e js server/index.js" - }, - "author": "Lighthouse Labs", - "license": "ISC", - "dependencies": { - "body-parser": "^1.15.2", - "chance": "^1.0.2", - "express": "^4.13.4", - "md5": "^2.1.0" - }, - "devDependencies": { - "nodemon": "^1.9.2" - } -} + "name": "tweeter", + "version": "1.0.0", + "description": "A twitter clone by Lighthouse Labs for web bootcamp students to learn front-end dev skillz", + "main": "server/index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node server/index.js", + "local": "./node_modules/.bin/nodemon --watch server -e js server/index.js" + }, + "author": "Lighthouse Labs", + "license": "ISC", + "dependencies": { + "body-parser": "^1.15.2", + "chance": "^1.0.2", + "express": "^4.13.4", + "md5": "^2.1.0" + }, + "devDependencies": { + "nodemon": "^1.9.2" + } +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 3eff8a8578d..b70f902eaf7 100644 --- a/public/index.html +++ b/public/index.html @@ -1,29 +1,97 @@ -
+ +Simplicity is the ultimate sophistication.
+