Skip to content

stoneandsand/fieldofgreens

 
 

Repository files navigation

> Field of Greens

## How To Start This App

************************************

Application instructions:

package.json in root folder contains some scripts for you to use in terminal. Run these commands in shell.

“npm run wp” runs webpack with –watch to automatically transpile on updates.

“npm run start” will start the server to accept incoming clients and also allow you to monitor the server in terminal.

The server is set to run on port 5000 locally: localhost:5000

************************************ Future Goals:

Social Media features -> Share with friends, upload local grossery discoveries Add user authentication Complete API integration to openFDA recall list Scrub data from said API integration

************************************

RESTful API Endpoints:

METHODURLREQRES
GET/html
POST/login
POST/signup
GET/api/users/%username/lists/%idlist{name: ”, items: []}
POST/api/users/%username/lists{name: ”, items: []}{name: ”, items: []}
GET/api/users/%username/listsarray
GET/api/search{name: ‘string’}array
GET/api/users/%username/allergiesarray
GET/api/users/%username/likesarray
GET/api/users/%username/dislikesarray
POST/api/users/%username/allergies{item: ”}array
POST/api/users/%username/likes{item: ”}array
POST/api/users/%username/dislikes{item: ”}array
POST/api/users/%username/delete{name: ”, type:”}array

************************************

Directory Structure

  • Auth/
    • Auth.js
    • Auth0-settings.js
    • history.js
  • bootstrap/
    • css/
    • fonts/
    • js/
    • config.json
  • client/
    • src/
      • components /
        • app.jsx
        • currentItems.jsx
        • itemEntry.jsx
        • iteminput.jsx
        • listManager.jsx
        • loadSavedLists.jsx
        • login.jsx
        • navigation.jsx
        • recallList.jsx
        • recalls.jsx
        • saveList.jsx
        • stateDropdown.jsx
  • db/
    • index.js
    • schemas.jsx
    • data.js
  • dist/
    • bundle.js
  • node_modules/
  • server/
    • index.js
  • .babelrc
  • .env
  • .eslintrc
  • .gitignore
  • index.html
  • package-lock.json
  • package.json
  • README.org
  • webpack.config.js

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%