Giter Site home page Giter Site logo

fleetfn / fleet Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 379 KB

๐Ÿš€ Next-generation Serverless Function for Node.js. This monorepo contains tools for using the Fleet API and Fleet CLI.

Home Page: https://fleetfn.com

JavaScript 1.86% TypeScript 98.14%
nodejs cli serverless fleet-function sdk-nodejs cloud sdk

fleet's People

Contributors

matuzalemsteles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fleet's Issues

Migrate the codebase to TypeScript

Migrate the codebase of the Fleet SDK and Fleet CLI packages to TypeScript, internally we have adopted them elsewhere, now we will adopt them here too. Implement this incrementally, even though this repository is not so big.

Before implementing it is necessary to prepare the infrastructure to deal with TypeScript builds for packages and also for eslint.

  • Prepare the package build infrastructure and configure eslint to handle TypeScript
  • Migrate the @fleetfn/sdk package
  • Migrate the @fleetfn/cli package

Adds OOTB support for TypeScript

Currently, to create a Fleet Function using TypeScript it is necessary to add an extra and not very friendly configuration for simple cases, for example: add a webpack.config.js, tsconfig.js, and install the typescript, the configuration file from the webpack will merge with the default build file.

The goal is to provide support for TypeScript OOTB, without having to add an extra configuration but keeping the option to extend as is done today for more complex cases if necessary or larger projects.

Add the dev command to the CLI

The idea is to allow fleet functions to run locally, so we should simulate a simple local Fleet environment to raise a server that is capable of handling requests and simulate the Fleet runtime.

  • The function execution runtime must limit access to some APIs to get close to the production environment (https://fleetfn.com/docs/limits.html)
  • Able to read fleet.yml and create routes
  • Show the function logs

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.