Skip to content

Node.js application that provides unique contribution profiles for Code for Denver volunteers and allows them to connect with volunteers/projects based on their skill sets.

License

Notifications You must be signed in to change notification settings

KBHan/members

 
 

Repository files navigation

Stories in Ready Build Status

members.codefordenver.com

Node.js application that connects volunteers with volunteers/projects based on their skill sets.


Requirements

  • Node.js - version 8.4 (if you have nvm type nvm use in the repo to use the correct version)

Setup:

  1. clone repo

  2. cd into repo directory

  3. Run npm install

    You may also want to install a prettier plugin for your editor. Check here for setup instructions

  4. Follow the following instructions to set up Auth0 and the API Explorer:

    1. Visit https://auth0.com/ and create a new Auth0 account or log-in to your existing one

      it will ask you for a tenant domain. Here you can just enter in your username as this will be used for the API endpoints of your clients.

      1. Select API from the side menu
      2. Select Auth0 Management API
      3. Select the API Explorer tab
      4. Select CREATE & AUTHORIZE A TEST CLIENT. This creates a client that can use the Management API.
      5. Select Clients from the side menu
      6. Select API Explorer Client
  5. Go the the command line and run npm run setup (You will be asked for the Domain, Client ID, and Client Secret from the API Explorer Client. Paste them into the command line). This will create the .env.local file in the root of the project.

  6. run npm run gc -- deploy

  7. Enter in the following information in your terminal: graphcool deploy info graphcool deply target name graphcool deploy service name

  8. Enter in the Auth URL into your browser

  9. Sign up for Graphcool

  10. from the output from the previous command copy the Simple API url and add it to the .env.local file for variable REACT_APP_GRAPHCOOL_API

  11. run npm start

Quick Start

After you've followed the set up steps listed above, you can subsequently start the app with:

npm start

Graphcool

The Graphcool framework is used to spin up and manage the backend for this project.

  1. Use locally installed version of framework with environment variable from .env.local
  • npm run gc -- <command>
  1. View list of available commands
  • npm run gc -- help
  1. Deploying the backend changes
  • npm run gc -- deploy
  1. Interactive console to test out GraphQL
  • npm run gc -- playground

Create React App

The front end for this project was bootstrapped with Create React App. Here are some generated docs from this project for helpful tips on how to do common things.

About

Node.js application that provides unique contribution profiles for Code for Denver volunteers and allows them to connect with volunteers/projects based on their skill sets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.1%
  • CSS 7.6%
  • Shell 4.6%
  • HTML 2.7%