Preview StackMatch: https://stackmatch-fac-dev.herokuapp.com/
The Founders & Coders (FAC) community needs a way for FAC members to connect with each other, so that they can help each other and make it possible for the hiring manager to contact a FAC member with a job opportunity they may find interesting.
A web app for FAC members where they can keep up to date personal information, search for other FAC members and connect with each other based on their technical stack skills.
Preview of the first page:
GIF that demos the app coming soon and/or Invision link
Front end | Backend | Testing | Other |
---|---|---|---|
HTML5 | Node.js | Tape | OAuth (Passport) |
CSS3 (BEM) | Handlebars | Travis CI | Webpack |
SASS | PostgreSQL | Supertest | Babel |
Javascript | Express.js | nyc |
Diagram that links Node.js icon to other services (that have their own icons) coming
PostgreSQL Database set up locally
psql
(pgcli
) in the terminal on MAC, and sudo -u postgres psql
on ubuntu.CREATE DATABASE [the name of the database];
. It's best not to use a hyphen (-
) or uppercase letters in your database name.CREATE USER [the new username] WITH SUPERUSER PASSWORD '[the password of the database]';
ALTER DATABASE [name of the database] OWNER TO [the new username];
GitHub oAuth App
Homepage URL = http://localhost:3000
Authorization callback URL = http://localhost:3000/auth/github/callback
Clone the repo: git clone https://github.com/fac-13/stackMatch.git
Install dependencies: npm install
Create a .env
in the root directory. This will need:
TEST_DB_URL =
[Your local PostgreSQL testing DB]DB_URL =
[Your local development DB] GITHUB_CLIENT_ID =
[Client ID from your app registration]GITHUB_CLIENT_SECRET =
[Client Secret from your app registration]BASE_URL = http://localhost:3000
COOKIE_KEY =
[Anything you want]Run npm run build
to build the database (or login to your prod db using postgres and run \i [full path to] db_build.sql
).
Run the app in dev mode usingnpm run dev
and access the site at http:://localhost:3000.
npm test
in the command linenpm run test:coverage