Giter Club home page Giter Club logo

scavenger-hunt's Introduction

๐Ÿšง ๐Ÿšง WARNING ๐Ÿšง ๐Ÿšง

I'm currently transitioning the server from Express/Rest -> AolloGraphql... this will be a tad messy until I'm finished ๐Ÿ˜ฌ

The following may or may not be accurate at the time of you reading this.

๐Ÿšง ๐Ÿšง WARNING ๐Ÿšง ๐Ÿšง


Scavenger Hunt CircleCI

  • This repo will eventually hold a scavenger hunt app that will utilize the Twilio texting service.

Available Scripts

  • npm start Runs the app in the development mode.
    Open http://localhost:3000 to view it in the browser. The page will reload with edits. You will also see any lint errors in the console.

  • npm run serve // nodemon Launches the server file.

  • npm test starts the test suit; runs all test in the __tests__ directory

NGROK & POSTMAN

  • Ngrok is a tool used to expose your local node server to the outside world, namely for Twilio webhooks and Postman testing.
  • install ngrok from their website (free version works fine)
  • open a terminal, in the root dir run the below command.
./ngrok http 22306
  • copy the provided url http://<some_random_string>.ngrok.io/
  • paste that into 2 places:
    • the webhook field on the Twilio dashboard for your selected phone number
    • saved to a variable in your PostMan environment

.ENV example content

ACCT_SID=< provided by Twilio >
AUTH_TOKEN=< provided by Twilio >
TWILIO_NUMBER=< provided by Twilio >

MONGO_URI=< provided by MongoDB >

SESSION_SECRET=< randomly button smash a long value >
PORT=< 5 digit number >
SASS_PATH="node_modules"

JWT_SECRET=< randomly button smash a long value >
ACCESS_TOKEN_SECRET=< randomly button smash a long value >
ACCESS_TOKEN_DURATION=1d
REFRESH_TOKEN_SECRET=< randomly button smash a long value >
REFRESH_TOKEN_DURATION=14d

scavenger-hunt's People

Contributors

dependabot[bot] avatar evboggs302 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.