Comments (4)
Hi @sandeephs1, playground is only running locally as a helper, the real API is (mainly) backed by a lambda and it doesn't serve it.
If you want your local frontend to access the real API (to speedup development) you can do the following
- Go to the AWS Console → Cognito → User Pool → App Integration → Choose App Client → Hosted UI
Add the following in both Sign In and Sign Out URLshttp://localhost:3000
- From your project root run
envname=dev python3 deploy/configs/frontend_config.py
this will generate the frontend/.env file - Open the .env file and replace both
REACT_APP_COGNITO_REDIRECT_SIGNIN
,REACT_APP_COGNITO_REDIRECT_SIGNOUT
values withhttp://localhost:3000
- Now start the server
cd frontend; yarn start
Using this method will also allow for React code hot swapping (you don’t need to restart the server when making frontend changes).
from dataall.
Hi @sandeephs1 thanks for the question. When using the dockerized local deployment of data.all you can access the GraphQL playground in http://localhost:5000/graphql
because the graphql container is using that port. Do you also want to know how to access the real API? I personally have not tried, so I would need to play around a bit (@petrkalos, @SofiaSazonova @noah-paige have you tried?)
Would you also be interested in how to connect a local deployment of the frontend with the real backend API?
from dataall.
Thanks @dlpzx Yes we want to access (Real API) in our Dev setup (we are able to access in Dockerized local Deployment)
from dataall.
Closing as question is solved. We will re-open it if needed
from dataall.
Related Issues (20)
- Better handling of "out of sync" Tables HOT 1
- Allow cross region shares with a feature flag
- Introduce Persistent Email Reminders for Producers of Datasets HOT 8
- Email notifications for share failures HOT 1
- Simplify Classification Config and Add more customizablity into it HOT 1
- More robust handling of exceptions inside share manager ECS task HOT 2
- Update documentation after v2.5 release for dataset related changes HOT 1
- UI: add spinner, when the group is deleted or invited to ENV
- Data.all allows 2 or more datasets with same s3 bucket HOT 2
- Create generic shares_base and s3_datasets_shares modules from current dataset_sharing HOT 1
- Automated Share Correction with Re-Apply Share ECS Task
- Give access to re-apply share button to consumers
- UI Inconsistency: Failure to Reflect Updated Table Location
- Unable to load consumption roles on request modal page for large number of consumption roles HOT 4
- Reject Reason should not be editable when the share is already approved
- No effect on session after setting cognito_user_session_timeout_inmins HOT 6
- Send alerts when share verifier ECS task fails
- ECS task fails and crashes when RDS queries return error HOT 2
- Bulk share re-apply UI for a dataset
- Investigate whether search lambda (search_handler.py ) can be combined with api_handler.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataall.