This is currently deployed to api.nicenode.xyz
. To test it, enter https://api.nicenode.xyz/api/controller
into a browser and see the results of a GET HTTP on /controller
, or https://api.nicenode.xyz/api/controller/geth
to get Geth's controller
.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
Use http://localhost:3000/api
as the local controller environment variable in NiceNode or for testing. Or open http://localhost:3000/api/controller or http://localhost:3000/api/controllerPackage with your browser to see the result.
Example http://localhost:3000/api/controller/besu
returns Besu's controller.
To properly update a controller:
- Make the change
- Always increment the version appropriately following semver standards.
- Deploy to a staging api and test it
- Then deploy to production
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
We, NiceNode, deploy with vercel deploy
and to production, vercel --prod deploy
For testing, you can take the url from vercel deploy
and set a local environment variable in NiceNode.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.