git clone https://github.com/NucsuM/rails-react-interaction.git
docker-compose build
docker-compose up
docker exec -it rri-app bash
#1 bundle exec rails s -b 0.0.0.0 -p 3000
- open in browser -> http://192.168.99.100:30000/photos/query_placeholder
- open
docker exec -it rri-app bash
in a new shell #2 cd ui && npm run build
- visit http://192.168.99.100:30000/photos/ and click on fetch data
-
Notifications
You must be signed in to change notification settings - Fork 1
NucsuM/rails-react-interaction
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This repo is a playground for interactiong a rails api with an react frontend
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published