зеркало из https://github.com/mozilla/fxa.git
…
|
||
---|---|---|
.. | ||
data | ||
static | ||
views | ||
.eslintrc.json | ||
.nsprc | ||
.prettierignore | ||
README.md | ||
config-local.json | ||
config.js | ||
config.json | ||
package.json | ||
pm2.config.js | ||
server.js |
README.md
A demo of a subscription flow
Running locally
- install git and node
- get a local copy of the repository:
git clone https://github.com/mozilla/fxa
cd fxa/packages/fortress
- install dependencies:
yarn install
- run the server:
yarn dev
- visit it in your browser:
http://localhost:9292/
- if you want to develop even faster, open a new terminal window and run
yarn ui
- now you can go to
http://localhost:5000
and develop without having to ever restart the server or refresh the browser
Testing
This package does not currently have a test suite.
Run npm test
to lint the code.