https://github.com/zth/rescript-bun-starter
A template project for building with ReScript and Bun.
https://github.com/zth/rescript-bun-starter
Last synced: 11 months ago
JSON representation
A template project for building with ReScript and Bun.
- Host: GitHub
- URL: https://github.com/zth/rescript-bun-starter
- Owner: zth
- Created: 2023-11-15T19:42:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T09:05:45.000Z (over 1 year ago)
- Last Synced: 2025-02-09T00:29:42.424Z (about 1 year ago)
- Language: ReScript
- Size: 14.6 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rescript-bun-starter
A starter for getting up and running quickly with ReScript and Bun.
## Getting started
Run installation:
```bash
bun i
```
All dev-time scripts can be run at the same time via:
```bash
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`