tvl-depot/nut-score
William Carroll 209fdf5726 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.
2020-03-17 22:40:48 +00:00
..
src Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
bsconfig.json Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
index.html Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
indexProduction.html Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
package.json Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
README.md Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
shell.nix Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
UNUSED_webpack.config.js Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
watcher.js Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00
yarn.lock Add ReasonML boilerplate 2020-03-17 22:40:48 +00:00

Nut Score

I cloned most of this start boilerplate from github.com/BuckleScript/bucklescript by running the following:

$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score

Installing

$ nix-shell
$ yarn install

Developing

In one shell run:

$ nix-shell
$ yarn server

In another shell run:

$ nix-shell
$ yarn start

Now open a web browser and visit localhost:8000.