Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:26
    yashutanna edited #5740
  • 11:26
    yashutanna edited #5740
  • 11:26
    yashutanna opened #5740
  • 11:16
    yashutanna closed #5739
  • 11:14
    yashutanna reopened #5739
  • 11:14
    yashutanna closed #5739
  • 11:12
    yashutanna synchronize #5640
  • 11:08
    yashutanna opened #5739
  • 11:05
    yashutanna commented #5707
  • 11:03
    yashutanna commented #5725
  • 10:47
    yashutanna synchronize #5640
  • 10:46
    yashutanna synchronize #5640
  • 08:36
    yashutanna synchronize #5640
  • 00:46
    joseabraham commented #5738
  • Oct 22 22:16

    kieckhafer on feat-kieckhafer-authorizationPluginWithKeto

    refactor: update code to use `r… (compare)

  • Oct 22 21:48
    YuuwakU edited #5738
  • Oct 22 21:47
    YuuwakU opened #5738
  • Oct 22 19:59
    rosshadden commented #5724
  • Oct 22 19:59
    rosshadden edited #5724
  • Oct 22 19:59
    rosshadden edited #5724
Kyle Ma
@kylemaa
Can anyone tell me where the container that renders the login form of reaction backend is? I would really appreciate your help
Kyle Ma
@kylemaa
Nvm I found it, can't find the resources folder though...
Ok I'm gonna stop asking and just look because I'm an idiot
rizwan atta
@rizwanatta
hey
just a little question: can we change or add something in the operator part of the app built with using reaction-commerce 2.0.2
@bt3gl I am willing for it!
gustavoca
@gustavoca
Does anyone know if there is a search feature based on a user input? for example i want to search the word "shoes" on the store front
gustavoca
@gustavoca
@rizwanatta yup, should be done by creating plugins from what understand, however examples are not so friendly, so you might need to dig into the code and checkout some of the built in plugins on reaction repo
Kyle Ma
@kylemaa
@gustavoca I was thinking about that too, a search bar would be nice
MeghaMathur23
@MeghaMathur23
in storefront i want to use carousel but i m having issue of css-loader/styleloader anyone can help me webpack config rules to set for import css directly
KEP
@epkim
Is there an example of a Front-end shopping mall using reaction commerce?
rizwan atta
@rizwanatta
there isn't any
only if they have allowed more easier way to add admin side of custom code too then they would have more! but issue is they are more trying to be like magento of Mern Stack. #noOffence . I love reaction. I am building a custom store on it too! but it kinda bounds. again I am an apple dude so boundness does not bother! unless I have to have a tough thing done by amdin side
I met the installion issue, who knows why?
web_1 | [4:38:33 PM] Compiled server in 5s
web_1 | Unable to access the GraphQL API. Is it running and accessible at http://reaction.api.reaction.localhost:3000/graphql-beta from the Storefront UI server?
web_1 | { Error: Network error: request to http://reaction.api.reaction.localhost:3000/graphql-beta failed, reason: connect ECONNREFUSED 172.19.0.2:3000
web_1 | at new ApolloError (/usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:99:32)
web_1 | at /usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:978:45
web_1 | at /usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:1345:21
web_1 | at Array.forEach (<anonymous>)
web_1 | at /usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:1344:22
web_1 | at Map.forEach (<anonymous>)
web_1 | at QueryManager.broadcastQueries (/usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:1339:26)
web_1 | at /usr/local/src/reaction-app/node_modules/apollo-client/bundle.umd.js:928:35
web_1 | at process._tickCallback (internal/process/next_tick.js:68:7)
web_1 | graphQLErrors: [],
web_1 | networkError:
web_1 | { FetchError: request to http://reaction.api.reaction.localhost:3000/graphql-beta failed, reason: connect ECONNREFUSED 172.19.0.2:3000
web_1 | at ClientRequest.<anonymous> (/usr/local/src/reaction-app/node_modules/node-fetch/index.js:133:11)
web_1 | at ClientRequest.emit (events.js:198:13)
web_1 | at Socket.socketErrorListener (_http_client.js:392:9)
web_1 | at Socket.emit (events.js:198:13)
web_1 | at emitErrorNT (internal/streams/destroy.js:91:8)
web_1 | at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
web_1 | at process._tickCallback (internal/process/next_tick.js:63:19)
web_1 | name: 'FetchError',
web_1 | message:
web_1 | 'request to http://reaction.api.reaction.localhost:3000/graphql-beta failed, reason: connect ECONNREFUSED 172.19.0.2:3000',
web_1 | type: 'system',
web_1 | errno: 'ECONNREFUSED',
web_1 | code: 'ECONNREFUSED' },
web_1 | message:
web_1 | 'Network error: request to http://reaction.api.reaction.localhost:3000/graphql-beta failed, reason: connect ECONNREFUSED 172.19.0.2:3000',
web_1 | extraInfo: undefined }
web_1 | Unable to access the GraphQL API. Is it running and accessible at http://reaction.api.reaction.localhost:3000/graphql-beta from the Storefront UI server?
gustavoca
@gustavoca
@ihalton Unable to access the GraphQL API. Is it running and accessible at http://reaction.api.reaction.localhost:3000/graphql-beta from the Storefront UI server?... is reaction running?
ihalton
@ihalton
Hi @gustavoca , Thanks for your answer, I follow the instruction of https://github.com/reactioncommerce/reaction-platform. and got thest issues. when I run it
image.png
gustavoca
@gustavoca
@ihalton check reaction_reaction container logs, and see if something is broken
ihalton
@ihalton
@gustavoca Thanks for your reply. :)
jdesai-git
@jdesai-git
Hi @loan-laux , Can you pls help us to config.ure SMS notification? Thanks in advance
Ben Slayton
@bslayton
Does anyone know if reaction supports bulk discount pricing. Eg: the more qty, the cheaper the price. I can’t find anything that suggests it does.
Vladimir Puz
@redscare
Hello. Can someone help me with mail system. The problem is, that is that it is working locally, but not in DigitalOcean node. I am using google smtp with an application password created separately for this node. But i am still getting ERROR Reaction: Email job failed: Error: connect ECONNREFUSED 127.0.0.1:587
Loan Laux
@loan-laux
@jdesai-git Sure thing! Hit us up at contact@outgrow.io and we'll see what we can do.
@bslayton You'll have to make your own discount plugin for that. Wouldn't be too hard by just forking the built-in flat rate one.
@redscare The SMTP settings are stored in the database. Did you set them up again after deploying?
Vladimir Puz
@redscare
yes. they are there
Loan Laux
@loan-laux
@redscare It looks like your SMTP host is set to localhost. Can you verify that this is not the case?
Vladimir Puz
@redscare
copy-paste from settings = Host: smtp.gmail.com
Loan Laux
@loan-laux
I would assume these are old jobs that have failed and are being retried. I'd suggest cleaning the job queue from your database.
Vladimir Puz
@redscare
according to logs, it does not try to retry sending them
Loan Laux
@loan-laux
Can you check that you don't have an email-related environment variable set?
Vladimir Puz
@redscare
hm.. looks like it is the case
there is an env var, which is different from gmail
will try to redeploy
Loan Laux
@loan-laux
Remove it or update it. This environment variable overrides the settings stored in the DB.
Vladimir Puz
@redscare
yes! that fixed the problem! Thank you! You saved my day =)
Loan Laux
@loan-laux
You're welcome @redscare!
Kyle Ma
@kylemaa
Looking for developers who have experience with real time charts and pipelining data! PM me for more details, pay rate, about, etc.
verakutsenko
@verakutsenko
How do people deal with rendering images in gmail? Gmail renders via proxy so it won't dynaically load the media fixtures, it needs static image assets from what I understand. Is there a way around this without having to convert the media fixtures into a jpg/png or another static image format?
verakutsenko
@verakutsenko
^ i'm going to lazily upload images to s3 that i need to serve in emails -- this is really annoying, but if anyone knows how else to have a workaround w/ gmail or when serving emails, lmk!
Hrvoje Husnjak
@hrc099
Hello people, I'm trying to deploy Reaction Commerce platform on an AWS server so I can try out your platform. I had success in deploying the app and adding some products through admin interface but I also have some issues which I couldn't handle yet so I decided to reach out to you in hope you may be able to help me. This is the link to where the app is hosted: http://testapp-env.wrcy2ypaiv.eu-west-2.elasticbeanstalk.com:4000/. It looks all ok at first but when I click on a single product (any of them except the example one) I get a 404. However, if I reload the page it will be loaded properly. Also, on the home page if I try to limit/order products (20/60/100 and newest/price) only the example product will be shown on any option that is not default one (20 and newest). If I select other limit of products shown (60/100) and refresh, then all products will be shown properly. But if I try to do the same with ordering (low-to-high/high-to-low) only the example product is shown. I got stuck here so I decided to ask if you are familiar with this type of issue or if you have any idea on what's wrong. Any help would be appreciated.
Loan Laux
@loan-laux
@hrc099 It looks like you're using the default localhost setting for the GraphQL endpoint URLs. You should update the EXTERNAL_GRAPHQL_URL and INTERNAL_GRAPHQL_URL environment variables. Also, it looks like you're running the storefront in development mode. To run a clean production set up, you should be using a full-blown production build.
Hrvoje Husnjak
@hrc099
@loan-laux True, I forgot to update these env variables for hydra. Thanks for advice and I'll definitely use the production build
Loan Laux
@loan-laux
Not just for Hydra, but also most importantly for the storefront. In general, just make a check of your env variables across all services when deploying. Lots of stuff to adapt in there apart from just the GraphQL endpoints.
jm18457
@jm18457
How are payments meant to be handled?
Isn't usually payment processed before order creation?
Currently payments are processed during placeOrder graphql mutation.
This works with payments-stripe example because you create payment same time as you build order.
Problem occurs when user needs to supply additional information for payment.
Example (payment with credit card):
If payment requires stronger authentication, which redirects to a different website and user fails this authentication then the order will still be created and cart deleted, which should not be the case.
Sujit Sharma
@sujitsharma1166
Hello people i am trying to make a custom plugin in reaction. I have define schema , resolver, query , mutations then I register them in register.js file and again register to outer register.js file as mentioned in tuterial but I can't get my custom API 's doc and schema in graphql bata and I can' t access it from graphql beta . So What may be the problem here ?? Does i need to do something anywhere in another file??
Arda Kara
@karaarda
@loan-laux I was checking you tutorial for deploying reaction on Amazon but there is no explanation about how to do the Next.js build for storefront, can you explain me how to do it? I am trying to add next-i18next for translations but I coudln't make it work with server side rendering
Loan Laux
@loan-laux
@karaarda For the storefront, the build instructions are the same as for the backend. Same as for building any Docker production image to be frank. docker build -t [tag] and you're set!