nogweii / bs-express

Express bindings in Reason

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bs-express

Express bindings for BuckleScript in Reason.

Installing

  1. Install bs-express using npm:
npm install --save bs-express
  1. Add bs-express as a dependency to your bsconfig.json:
{
  "name": "your-project",
  "bs-dependencies": ["bs-express"]
}

Right now the library is somewhat underdocumented, so please view the interface file Express.rei or the example folder to see library usage.


Contributing

If you'd like to contribute, you can follow the instructions below to get things working locally.

Getting Started

  1. After cloning the repo, install the dependencies
npm install
  1. Build and start the example server:
npm start

Running the tests

To run tests, run the command:

npm test

About

Express bindings in Reason

License:MIT License


Languages

Language:ReScript 87.0%Language:Shell 13.0%