A social network for artists.
- Authors: Patrick, Malinda, Andrew, Cham
- Stack: PostgreSQL, Node.js, Express, and Handlebars
- Ensure you have Node v8.11.1 or greater installed, along with yarn (
npm install -g yarn
) - Clone the repo.
yarn install
to install server (Express app) dependencies.- 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>"
}
}
yarn start
in main directory to run the server on port 3000.- App will be live at http://localhost:3001.
Run node setup.js
.