Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.15 KB

Web-based TODO app in Reason + Melange

The motivation of this project is to learn Reason + Melange ecosystem, basically Reason-based web development. There will be lots of extra/unnecessary shit in this repo due to the nature of this project being just a Reason experimentation.

For example, CSS styles are implemented in multiple different ways in order to learn both ReasonReact inline styles and very cool styled-ppx. Similarly, backend is kept very basic. Lots of stuff has been implemented manually for learning purposes. The architecture of the backend is hugely inspired by Ocoi

Project structure

client - Melange web app with Rescript React server - Native Reason backend common - Shared logic between client and server, i.e DTO classes

Build

Frontend

npm install
esy mel build

Backend

esy build

How to run

Launch Postgres docker container

docker compose up

Launch Reason backend

esy server:start

Frontend

npm run serve

Finally, navigate to http://localhost:8080