Run arangodb on http://localhost:8529 and create a database named squash
yarn installNote: this projcet uses yarn version >= 2.0, and follows the Zero Install ideology. Follow this link for more information.
yarn run setupAdds server squash with the homonym database to foxx-cli and runs yarn install:service
yarn run install:serviceBuilds the TypeScript codebase and mounts the service on /auth
yarn run upgrade:serviceBuilds the TypeScript codebase and upgrades the current service on /auth
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:editorIn VSCode you also need to explicitly specify the version of TypeScript to use.
-
Press
{CTRL,CMD}+SHIFT+Pin a TypeScript file -
Choose "Select TypeScript Version"
-
Pick "Use Workspace Version"
More info here
Copyright (c) 2020 Squash Consulting. All rights reserved.