Giter VIP home page Giter VIP logo

jupiter's Introduction

jupiter

Rackspace Signup page for Invoice Cart

Local Development

Starting up

To start up Jupiter locally, run:

yarn install

To use portal staging API end-points: staging.portal.rackspace.com/api/

yarn watch

To use portal prod flag for portal.rackspace.com/api

yarn start

Upon startup you will be prompted for the cookie value for "__Secure-portal_sessionid"

  1. Follow the link provided in the terminal
    • I.E.
      • yarn watch direct to staging
      • yarn start direct to prod
  2. Open browser developer tools and navigate cookie storage:
    • ex. On Chrome it is under the "Application" tab
  3. Copy the cookie value for "__Secure-portal_sessionid" and paste into the terminal

Note: The cookie expires, when it does you must restart server and enter the latest cookie value.

Production

To run a production build run yarn build.

Testing

Jupiter is using the Jest testing suite paired with Enzyme for unit tests. To run tests locally run:

yarn test 
# or to display code coverage:
yarn test:coverage

We use Jest snapshot testing in order to ensure components are rendering appropriately with the props. After making changes you must run yarn test -u in order to update previously created snapshots.

To run a subset of tests you can specify with the command:

yarn test -- "SomeTestFile"
# or
yarn test -f "SomeTestFile" -t "test description" 

Dependencies

Node v12.16.x

Helpful Links

Jupiter Internal Cart docs.

Manual Invoice sign up process documentation.

Signup is the API use to create accounts. Some details related to nodes can be found here:

Admin Api documentation

Signup Developer guide documentation

Portal Onboarding Resources documentation

jupiter's People

Contributors

abrande avatar vaibhavdubey08 avatar nicko-winner avatar anuritjain avatar usethecodeluke avatar explorigin avatar ram5607 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Forkers

seyuan111

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.