IHP Backend Chat Example App
April 25, 2022 ยท View on GitHub
You can find this app running here.
Usage
On first start install the npm dependencies:
npm install
Set the BACKEND_URL in .env to your project's url:
# .env
BACKEND_URL=https://REPLACE ME.ihpbackend.app
After this you can start the web server and esbuild watcher:
npm run dev
Entrypoint
The entrypoint of this app is src/app.tsx.
Schema
If you want to import this frontend into your own IHP Backend, copy the contents of Schema.sql into your project.