This is the code repository to accompany a tutorial on how to create a Rails API then, using esbuild, build a React front-end to consume it.
There are instructions for installing both Ruby and Node at the beginning of the tutorial.
- Clone repo
- Run
bundle install
- Run
npm install
- Run
rake db:create
,rake db:migrate
, thenrake db:seed
- Start the Rails server and esbuild with one command
./bin/dev
- Hit http://localhost:3000/events