Dynamically load modules for use in a sample API developed with Nitric.
Windows
Install with scoop
scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git
scoop install nitric
Linux
Download as a scripted install via curl.
curl https://nitric.io/install | bash
Note: Complete installation guide can be found here
yarn install
nitric run
curl http://localhost:9001/apis/main/hello/cat
{"message":"meow"}
curl http://localhost:9001/apis/main/hello/donkey
{"message":"No greeting module found for animal - donkey"}
Explore the Nitric framework to learn how to deploy to the cloud and much more.