From 781eb96e22fae1ddb18576debe7c2eb352df563f Mon Sep 17 00:00:00 2001 From: cefjoeii Date: Thu, 20 Jul 2017 23:56:59 +0800 Subject: [PATCH] Make the actual retrieving of data work --- README.md | 13 +++- react-src/public/index.html | 2 +- react-src/src/components/App/App.js | 39 +++++++++- react-src/src/components/FormAdd/FormAdd.js | 24 +++--- react-src/src/components/ModalAdd/ModalAdd.js | 4 +- .../src/components/TableData/TableData.js | 76 +++++++++---------- routes/users.js | 20 ++++- 7 files changed, 119 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 0be8010..8c9fe5b 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,20 @@ Run the development server for React. npm start ``` -For production build, simply run on *react-src* folder. +To make a production build, simply run on *react-src* folder. ``` npm run build ``` It will create a folder named *public* on the root directory. This is where the production-ready front-end of the web application will reside. + +## Features You Can Manually Add + +* Front-end validation. Pure back-end validation is expensive. + +## To Do + +- [x] Create +- [x] Read +- [ ] Update +- [ ] Delete diff --git a/react-src/public/index.html b/react-src/public/index.html index ab51f46..265d7d3 100644 --- a/react-src/public/index.html +++ b/react-src/public/index.html @@ -26,7 +26,7 @@ MERN CRUD Starter Kit - Fork me on GitHub + Fork me on GitHub