Rackspace Signup page for Invoice Cart
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"
- Follow the link provided in the terminal
- Open browser developer tools and navigate cookie storage:
- ex. On Chrome it is under the "Application" tab
- 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.
To run a production build run yarn build
.
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"
Node v12.16.x
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