/netlify-demo

Primary LanguageTypeScript

netlify demo

Requirements:

Architecture

This webapp is composed of two components hosted on Netlify:

Both services are orchestrated using a netlify.toml file based configuration. You can read more about it here.

Usage

This repo supports a local environment

Local

Ensure you have installed local dependancies first

// load node environment
nvm use

// install dependancies
npm i

You can then the application with the following commands:

// run main app in development mode
npm run dev

// linting
npm run lint

Visit http://localhost:8888 to see the site.

Debugging

This repo comes with a basic launch config for VSCode. Read more on VS Code Debugging with Node here or Parcel Debugging Here

Steps:

  1. Start the dev server:
npm run dev
  1. Start the debugging process in VSCode by clicking Green arrow in the debug panel. You should now be able to set breakpoints in your code.