Skip to content

chamkank/art304

Repository files navigation

CS304 Group Project

A social network for artists.

Installation

  1. Ensure you have Node v8.11.1 or greater installed, along with yarn (npm install -g yarn)
  2. Clone the repo.
  3. yarn install to install server (Express app) dependencies.
  4. If you are a course TA, you must use the code submitted instead of cloning because it contains a secret config file. If you aren't a TA and cloned from the repo, you must create a config file containing passport secret and database connection URI in /config/default.json like so:
{
    "db":{
        "conString" : "postgres://<user>:<pass>@<url>:<port>/<db>"
    },
    "passport":{
        "secret": "<secret-word>"
    }
}

Running Server & Client

  1. yarn startin main directory to run the server on port 3000.
  2. App will be live at http://localhost:3001.

Populating the Database

Run node setup.js.

Reference

About

CS304 Group Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published