Node
(17.2.0 or greater)nvm
(0.39.0 or greater)
This webapp is composed of two components hosted on Netlify:
- Frontend. A Parcel webapp written in typescript. Read more about Parcel here
- Serverless Function exposed via an abstract Netlify API. Read more about Netlify Functions here
Both services are orchestrated using a netlify.toml
file based configuration. You can read more about it here.
This repo supports a local environment
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.
This repo comes with a basic launch config for VSCode. Read more on VS Code Debugging with Node here or Parcel Debugging Here
- Start the dev server:
npm run dev
- 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.