This example show how to create a dynamic web site using Handlebars, TailwindCSS, DaisyUi and a Codehooks serverless backend.
Install CLI
npm i -g codehooks
Download example code
git clone https://github.com/RestDB/codehooks-io-examples.git
Change directory
cd codehooks-io-examples/dynamicweb
Connect to your project that you've created in Studio
coho init --empty
Add dependencies
npm install
npm run deploy
Import example product data to the database
coho import -f exampledata/products.json -c products
Check in Studio or with the CLI.
coho query products
Visit the project URL coho info will show yours.
Live example here: https://youthful-levy-7b1f.codehooks.io