Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (42 sloc) 1.55 KB

Food Oasis

This is a re-vamped version of the Food Oasis application, with a Postgres database, node/express Web API server, and React client.

Prerequisites

  1. Git for working with Github source code
  2. Node and npm for running the web app

Full-Stack React/Node Application Installation

  1. Clone this repo to your local drive.

    details

    1. Start a terminal app, such as Terminal on OSX or the Git Bash shell on Windows.
    2. Create a src directory in the user's home directory and go in it
      cd && mkdir src && cd src
      
    3. Clone the repository
      git clone https://github.com/hackforla/food-oasis
      

  2. Change to the food-oasis directory:

    cd food-oasis
    
  3. Install the node server npm depedencies:

    npm install
    
  4. Obtain the .env file from the slack channel and place it in this directory. It contains private info (i.e., the production database connection string) that we cannot put in this public GitHub repo.

  5. Change to the client directory:

    cd client
    
  6. Install the client (React) dependencies:

    npm install
    

To Run the React/Node Application

  1. Run npm start from the food-oasis directory to start the node server.
  2. Open a separate command shell and set the directory to the /client subdirectory, then npm start again to start the client application and open a browser pointing to it.

Features

Registration and Login

Forgot Password

You can’t perform that action at this time.