| REACT_APP_BASE_API_URL=http://localhost:3333/ | |||||
| REACT_APP_BASE_API_URL=http://176.104.105.124:5501/ |
| "yup": "^0.32.9" | "yup": "^0.32.9" | ||||
| }, | }, | ||||
| "scripts": { | "scripts": { | ||||
| "start": "react-scripts start", | |||||
| "start": "set PORT=5500 && react-scripts start ", | |||||
| "build": "react-scripts build", | "build": "react-scripts build", | ||||
| "test": "react-scripts test", | "test": "react-scripts test", | ||||
| "eject": "react-scripts eject" | "eject": "react-scripts eject" |
| </a> | </a> | ||||
| </h3> | </h3> | ||||
| <p className="card-text mb-1"> | <p className="card-text mb-1"> | ||||
| {result.description !== undefined ? result.description.substr(0,100) + "..." : ''} | |||||
| {result.description !== undefined && result.description !== null ? result.description.substr(0,100) + "..." : ''} | |||||
| </p> | </p> | ||||
| <div className="row"> | <div className="row"> | ||||
| <div className="col-md-9"> | <div className="col-md-9"> |
| </tr> | </tr> | ||||
| </thead> | </thead> | ||||
| <tbody> | <tbody> | ||||
| {scrappes.sort((a, b) => (new Date(b.estimate)) - (new Date(a.estimate))).map((scrape, i) => <ScrapeRequest handleExecute={handleExecute} index={i + 1} key={scrape._id} scrape={scrape} />)} | |||||
| {scrappes.sort((a, b) => (new Date(b.createDate)) - (new Date(a.createDate))).map((scrape, i) => <ScrapeRequest handleExecute={handleExecute} index={i + 1} key={scrape._id} scrape={scrape} />)} | |||||
| </tbody> | </tbody> | ||||
| </table> | </table> | ||||
| </div>} | </div>} |
| export const prices = [ | export const prices = [ | ||||
| { value: '$1000', label: '$1000' }, | |||||
| { value: '$1100', label: '$1100' }, | |||||
| { value: '$1300', label: '$1300' }, | |||||
| { value: '$1500', label: '$1500' }, | |||||
| { value: '$1800', label: '$1800' }, | |||||
| { value: '$2000', label: '$2000' } | |||||
| { value: '1000', label: '$1000' }, | |||||
| { value: '1100', label: '$1100' }, | |||||
| { value: '1300', label: '$1300' }, | |||||
| { value: '1500', label: '$1500' }, | |||||
| { value: '1800', label: '$1800' }, | |||||
| { value: '2000', label: '$2000' } | |||||
| ]; | ]; | ||||
| export const beds = [ | export const beds = [ | ||||
| { value: '1', label: '1' }, | { value: '1', label: '1' }, | ||||
| { value: '2', label: '2' }, | { value: '2', label: '2' }, | ||||
| { value: '3', label: '3' }, | { value: '3', label: '3' }, | ||||
| { value: '4+', label: '4+' } | |||||
| { value: '4', label: '4+' } | |||||
| ]; | ]; | ||||
| export const types = [ | export const types = [ |