Skip to content

Foxx Authentication Service Written In TypeScript

Notifications You must be signed in to change notification settings

SquashConsulting/auth

Repository files navigation

Auth

Geting started

Run arangodb

Run arangodb on http://localhost:8529 and create a database named squash

Install packages

yarn install

Note: this projcet uses yarn version >= 2.0, and follows the Zero Install ideology. Follow this link for more information.

Available Scripts

yarn run setup

Adds server squash with the homonym database to foxx-cli and runs yarn install:service

yarn run install:service

Builds the TypeScript codebase and mounts the service on /auth

yarn run upgrade:service

Builds the TypeScript codebase and upgrades the current service on /auth

Editor configuration

yarn@berry which is used in this project does not use node_modules. Because of this, some editors won't recognize imported modules. Run this command to resolve the issue in VSCode.

yarn config:editor

In VSCode you also need to explicitly specify the version of TypeScript to use.

  1. Press {CTRL,CMD}+SHIFT+P in a TypeScript file

  2. Choose "Select TypeScript Version"

  3. Pick "Use Workspace Version"

More info here

License

Copyright (c) 2020 Squash Consulting. All rights reserved.

About

Foxx Authentication Service Written In TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published