A repo that allows Reactjs development against FileMan in Gitpod
To run a Gitpod with this repo:
-
Create a free/paid Gitpod account - https://www.gitpod.io/
-
Log into the account
-
Open a new browser tab and add gitpod.io/#https://github.com/RamSailopal/FileManjs-gitpod to the address - This will create a new Gitpod cloud instance.
-
Due to blocked cross origin requests, ports 3001 and 9100 need to be made public in Gitpod.
-
Due to blocked cross origin requests, A CORS browser add-on also needs to be added and enabled https://addons.mozilla.org/en-GB/firefox/addon/cors-everywhere/
https://chrome.google.com/webstore/detail/cors-unblock/lfhmikememgdcahcdlaciloancbhjino?hl=en
-
Open a browser session on port 3001 (the globe icon) and this will display a react table displaying the output from the FileMan query SELECT 9_6 LIMIT 100
- Step 3 is for sample only. If you want to make changes to your own repo, first fork this repo and then add that repo after the gitpod.io/# prefix to create a new gitpod instance.
- App.js in react/src is the root file that gets executed by the React web server