Add ReasonML boilerplate

After some toil, I finally support basic ReasonML starter code.

I'm adding it to the nut-score directory because I would like to make a simple
webpage that render some nutritional facts about nuts with respect to the
ketogenic diet.

I'm not sure if I should include or exclude te .bs.js files.

See the README.md for more information.
This commit is contained in:
William Carroll 2020-03-17 22:40:48 +00:00
parent 166aed6e80
commit 209fdf5726
14 changed files with 484 additions and 0 deletions

35
nut-score/README.md Normal file
View file

@ -0,0 +1,35 @@
# Nut Score
I cloned most of this start boilerplate from
github.com/BuckleScript/bucklescript by running the following:
```shell
$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score
```
## Installing
```shell
$ nix-shell
$ yarn install
```
## Developing
In one shell run:
```shell
$ nix-shell
$ yarn server
```
In another shell run:
```shell
$ nix-shell
$ yarn start
```
Now open a web browser and visit `localhost:8000`.