Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 2.82 KB

README.md

File metadata and controls

82 lines (52 loc) · 2.82 KB

Nitric Logo

A fast & fun way to build portable cloud-native applications

GitHub release (latest SemVer) Twitter Follow Discord

Project Description

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.

Frontend

Diagram

Usage

Step 1: Install Nitric

Follow the steps in the installation guide

Step 2: Configure Environment Variables

  • Create a frontend/.env from frontend/.env.example and update your base API URL as NITRIC_API_BASE_URL.

  • Create a .env file from .env.example and add your Discord Websocket URL.

Step 3: Run your Nitric project locally

yarn install
nitric start

Step 4: Run your frontend locally

Inside the /frontend directory:

yarn install
yarn dev

About Nitric

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

Documentation

The full documentation is available at nitric.io/docs.

We're completely open-source and encourage code contributions.

Get in touch