Skip to content

NiceNode/controller-api

Repository files navigation

controller-api

This is currently deployed to api.nicenode.xyz. To test it, enter https://api.nicenode.xyz/api/controllerinto 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.

Getting Started

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:

  1. Make the change
  2. Always increment the version appropriately following semver standards.
  3. Deploy to a staging api and test it
  4. 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published