A starter for getting up and running quickly with ReScript and Bun.
Run installation:
bun i
All dev-time scripts can be run at the same time via:
bun run dev
Check out
package.json
and change scripts as you see fit.
This starts the ReScript compiler, the default little web server that comes with this repo, and also runs the tests from tests/
.
The web server is automatically reloaded when you make changes, and you can access it on http://localhost:7777/add?a=10&b=20 to see it in action. The code is in src/Main.res