Skip to content

kitkogan/kizzi-app

Repository files navigation

Kizzi App

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 database and table

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

Development Setup Instructions

  • Run npm install
  • Create a .env file at the root of the project and paste this line into the file:
    SERVER_SESSION_SECRET=superDuperSecret
    
    While you're in your new .env file, take the time to replace superDuperSecret with some long random string like 25POUbVtx6RKVNWszd9ERB9Bb6 to 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 as superDuperSecret, 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

Kizzi

A full stack match making app that makes compatability reccommendations based on zip code and zodiac sign

About

Fullstack React app created for solo project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors