This is a clone of Askmybook.com using Rails and React.
Backend:
cd server
bundle install
Followed by script run for initial setup (assuming you have a pdf file named book.pdf in the server directory):
ruby scripts/pdf_to_pages_embeddings.rb --pdf book.pdf
Setup db if first time:
rails db:create
rails db:migrate
Start server:
rails s
Frontend:
cd client
npm install
npm run dev
Backend app is deployed on Render here and frontend app is deployed on Netlify here.