Wondering what’s next for npm?Check out our public roadmap! »

    warehouse.ai

    7.0.0-alpha.0 • Public • Published

    warehouse.ai

    Scalable Object Ledger and CDN.

    Quick Start

    git clone git@github.com:godaddy/warehouse.ai.git
    cd warehouse.ai && npm install
    npm start

    Programmatic Usage

    const createFastify = require('fastify');
    const warehouse = require('warehouse.ai');
    
    const fastify = createFastify({
      logger: {
        level: 'info'
      }
    });
    
    // Optional authentication on Warehouse protected routes
    fastify.decorate('verifyAuthentication', function (req, res, done) {
      // Implement auth strategy here
      done();
    });
    
    fastify.register(warehouse);
    
    fastify.ready(function () {
      fastify.listen(fastify.config.port, function (err) {
        if (err) throw err;
      });
    })

    Development

    Warehouse uses Localstack and Docker for local development.

    To properly run the application locally, open one terminal session and run:

    npm run localstack
    

    Then, open another terminal session and run:

    npm run init-localstack
    npm run dev
    

    Install

    npm i warehouse.ai

    DownloadsWeekly Downloads

    80

    Version

    7.0.0-alpha.0

    License

    MIT

    Unpacked Size

    395 kB

    Total Files

    37

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar