A fast & fun way to build portable cloud-native applications
This application monitors website uptime through event-driven mechanisms, utilizing APIs, scheduling, and Pub/Sub for asynchronous communication between services. When a website goes down or comes back up, it sends a Discord notification to alert users. The frontend is built with Astro/React.
Follow the steps in the installation guide
-
Create a
frontend/.env
fromfrontend/.env.example
and update your base API URL asNITRIC_API_BASE_URL
. -
Create a
.env
file from.env.example
and add your Discord Websocket URL.
yarn install
nitric start
Inside the /frontend
directory:
yarn install
yarn dev
Nitric is a framework for rapid development of cloud-native and serverless applications. Define your apps in terms of the resources they need, then write the code for serverless function based APIs, event subscribers and scheduled jobs.
Apps built with Nitric can be deployed to AWS, Azure or Google Cloud all from the same code base so you can focus on your products, not your cloud provider.
Nitric makes it easy to:
- Create smart serverless functions and APIs
- Build reliable distributed apps that use events and/or queues
- Securely store and retrieve secrets
- Read and write files from buckets
The full documentation is available at nitric.io/docs.
We're completely open-source and encourage code contributions.
-
Ask questions in GitHub discussions
-
Find us on Twitter
-
Send us an email
-
Jump into our Discord server