fxa/packages/fxa-profile-server
dependabot[bot] bbfc0480e5
chore(deps-dev): bump nock from 13.3.0 to 13.5.1
Bumps [nock](https://github.com/nock/nock) from 13.3.0 to 13.5.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.0...v13.5.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 06:50:27 +00:00
..
bin task(all): Add support for sentry performance monitoring 2023-12-19 16:05:05 -08:00
config refactor(config): replace 127.0.0.1 with localhost 2020-04-15 13:55:42 -07:00
docs chore(many): Remove npm run commands 2023-05-17 11:24:09 -07:00
lib feat(auth): Add atLeast18AtReg value to account 2024-01-22 22:13:41 -08:00
scripts task(CI): Improve nx caching for CI pipelines 2023-08-29 11:19:54 -07:00
test fix(auth,profile): Fix missing event broker events 2023-06-01 16:44:59 -07:00
.eslintrc chore(build): initial nx implementation 2023-05-23 08:37:47 -07:00
.nsprc refactor(profile): Update to Hapi 19.1.1 2020-03-26 15:03:07 -04:00
.prettierignore chore(style): added prettier to fxa-profile-server 2019-06-25 09:36:41 -07:00
README.md chore(many): Remove npm run commands 2023-05-17 11:24:09 -07:00
backstage.yaml fix(backstage): update db references, add gql API ref 2024-01-26 08:41:53 -08:00
package.json chore(deps-dev): bump nock from 13.3.0 to 13.5.1 2024-02-01 06:50:27 +00:00
pm2.config.js chore(deps): upgrade to node.js 18 2023-03-20 13:28:10 -05:00

README.md

Firefox Accounts Profile Service

A server to provide common profile-related data for a Firefox Account. Such as name, avatar, location, age, gender, etc.

Development

Installation:

git clone https://github.com/mozilla/fxa-profile-server
cd fxa-profile-server
yarn install

Docker Based Development

To run the profile server via Docker, two steps are required:

$ docker build --rm -t mozilla/fxa_profile_server
$ docker run --rm -v $PWD:/opt/fxa mozilla/fxa_profile_server yarn install
$ docker run --rm -v $PWD:/opt/fxa --net=host mozilla/fxa_profile_server

This method shares the codebase into the running container so that you can install npm and various modules required by package.json. It then runs profile-server in a container, while allowing you to use your IDE of choice from your normal desktop environment to develop code.

Running tests:

npm test

To run tests via Docker:

docker run --rm -v $PWD:/opt/fxa --net=host mozilla/fxa_profile_server npm test

Running the server locally:

npm start

License

MPL v2.0