• This repository has been archived on 22/Jan/2021
  • Stars
    star
    517
  • Rank 85,558 (Top 2 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created over 12 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The beautiful way to get things done.

Nitro 3

Build Status Dependency Status devDependency Status FOSSA Status

A brand new rewrite. Check out the Wiki for what's new and happening, or tweet me @consindo.

Build Instructions

  • You will need node.js & npm installed.
  • Then run npm install

Development (without server)

  • Use npm run test:fast to run tests only, without building and coverage.
  • You can use npm run watch. It uses webpack-dev-server, which has nice live js & css reloading.
  • Sign in with [email protected], no password.

Development (with server)

  • Go to https://github.com/nitrotasks/nitro-server to download and use the server.
  • If you're developing the client too, the webpack-dev-server will proxy API requests to localhost:8040/a - you can change this in webpack.config.js.

Production

  • This is published as a npm package, prebuilt with the API route as /a.
  • Nitro Server pulls the package from NPM, and serves the module as the app.

Otherwise

  • Use npm run build to create a production build.
  • Serve this from nitro-server by changing the config.
  • If you're the maintainer, use npm publish and change the wanted package in the nitro-server package.json.

License

FOSSA Status