Skip to content

greyblake/from-typescript-to-rescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

From TypeScript To Rescript

This is an example of Inhyped frontend codebase initially written in TypeScript and then fully rewritten in ReScript.

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.

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

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

License

MIT