Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/greyblake/from-typescript-to-rescript

Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript
https://github.com/greyblake/from-typescript-to-rescript

fp frontend functional javascript js near nearprotocol ocaml react reactjs rescript typescript web

Last synced: about 2 months ago
JSON representation

Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript

Awesome Lists containing this project

README

        

## From TypeScript To Rescript

This is an example of [Inhyped](https://inhyped.com/) frontend codebase initially written in TypeScript and then
fully rewritten in [ReScript](https://rescript-lang.org/).

It's published for educational purpose and pursues a goal to demonstrate what a real ReScript project may look like.

The rewriting process was accompanied with [tweets with hashtag #FromTypescriptToRescript](https://twitter.com/hashtag/FromTypescriptToRescript).

The author does not consider himself an excellent frontend developer and both versions are far from being perfectly polished, so keep it in mind.

The source code comes without corresponding backend part. To get a feeling of what the project does,
it's recommended visiting [inhyped.com](https://inhyped.com/)

### Running ReScript

Install dependencies:

```
cd rescript
npm install
```

Start ReScript/OCaml compiler with watcher:

```
npm run watch
```

Serve the assets:

```
npm run start
```

## Similar Projects

* [ReScript RealWorld App](https://github.com/jihchi/rescript-react-realworld-example-app)

## License

MIT