supersubwoofer / bucklescript-basic-routing-jwtauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Routing, jwt authentication and Local Storage

Routes

  • sign_up
  • sign_in
  • Index

Organisation

  • The bucklescript code goes into src/*.ml
  • The release folder contains an index.html and rollup bundles your js here in main.js

Getting started

  • copy or clone this repository
  • change the names in package.json
  • in the rollup.config.js you can also change the name of the output, you also have to change this name in de index.html
  • for consistency, also change the name in bsconfig.json

Install

npm install

Build

npm run build

Watch

npm run watch

Reference

About


Languages

Language:OCaml 80.6%Language:HTML 10.5%Language:JavaScript 5.8%Language:Standard ML 3.1%