Giter VIP home page Giter VIP logo

foxx_typescript's Introduction

Foxx TypeScript Service Template

Update: The next version of the template is being developed on the next branch. It will support npm, as we decided to drop support for yarn 2.0, because of some unexpected behaivours. This template will be part of the kaliningrad project. Backwards compatability will be maintained, however, the usage of the template is encoureged through the kaliningrad's generator. Please note, you will still be able to use this as a standalone template.

Install packages

yarn install

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

Install/Upgrade Foxx Service

In order to use the typescript service in ArangoDB, you need to run yarn build and then do foxx {install,upgrade} <mount> --server <server_name> --database <db_name>

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

foxx_typescript's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tylergarlick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.