- htmx
- Typescript
- Node
- Netlify
- Identity
- Edge Functions
- Static site hosting
Contains different applications
The directory from which Netlify will load the available Edge Functions. This is not the default directory location, it’s configured in netlify.toml
.
Where the static site will be built and deployed by Netlify. This location is configured in netlify.toml
Contains isolated libraries with no stand-alone use
Top level NPM configuration
Netlify Configuration
- Clone this git repository
- Run
npm run initialize
to recursively install all dependencies - Run
npx netlify login
to log in to Netlify CLI - Make a copy of
.env.dev.example
named.env.dev
- Open
lib/fauna/README.org
and follow the Development Setup steps there
- Run
npm run dev:all:serve
. See below for more details
Initialize the entire repository’s NPM dependencies. Because there are multiple package.json
files throughout the repository, a simple npm install
will not be sufficient. First, this script runs npm install
to install the top-level dependencies. Then, it runs npm run all:install
Runs npm-recursive-install
from the recursive-install
NPM package. This is the equivalent of running npm install
wherever there is a package.json file in the directory structure.
Serve Edge Functions locally using Netlify’s CLI. The server will rebuild automatically on file changes.
Serve ALL Netlify dev resources locally using Netlify’s CLI. Right now, that is just the static site and the Edge Functions.
Most file changes will automatically update the local resources. No hot reloading, so you will need to refresh your browser.