This version uses React, Redux, Sagas, Express, Passport, and PostgreSQL (a full list of dependencies can be found in package.json). Live Demo unavailable at this time.
Create a new database called prime_app and create a user table (further SQL instructions in the .sql file):
CREATE TABLE "user" (
"id" SERIAL PRIMARY KEY,
"username" VARCHAR (80) UNIQUE NOT NULL,
"password" VARCHAR (1000) NOT NULL
);If you would like to name your database something else, you will need to change prime_app to the name of your new database name in server/modules/pool.js
- Run
npm install - Create a
.envfile at the root of the project and paste this line into the file:While you're in your newSERVER_SESSION_SECRET=superDuperSecret.envfile, take the time to replacesuperDuperSecretwith some long random string like25POUbVtx6RKVNWszd9ERB9Bb6to keep your application secure. Here's a site that can help you: https://passwordsgenerator.net/. If you don't do this step, create a secret with less than eight characters, or leave it assuperDuperSecret, you will get a warning. - Start postgres if not running already by using
brew services start postgresql - Run
npm run server - Run
npm run client - Navigate to
localhost:3000
A full stack match making app that makes compatability reccommendations based on zip code and zodiac sign