bancodobrasil / mtls-best-friend

A lightweight website for testing mTLS as both client and server
https://mtls.run
MIT License
10 stars 6 forks source link

Add the CURL run button on the Client page TEST #8

Open MichaelRSilva opened 3 years ago

MichaelRSilva commented 3 years ago

On the /check-client page, exemplify the CURL command. An improvement would be to add a RUN button that already executed this command on the screen and showed the result.

hasanosman2020 commented 3 years ago

Hi, I am interested in assisting you but I'm relatively new to the field and do not fully understand your issue. I will of course look it up online but I may need some guidance. However, if you require a helper already familiar with the issue then I wish you all the best.

tiagostutz commented 3 years ago

Hi @hasanosman2020 👋🏻 ! Welcome.!

Let's try to tackle this.! Are you new to mTLS field or NextJS? If you are able to run the project locally, that's a good start. Have you already done that?

The details about mTLS and stuff we can guide you throughtout the issue development.

hasanosman2020 commented 3 years ago

Hi @tiagostutz. I am new to both mTLS and NextJS. I haven't worked with either before but. have googled them and am confident that I can get to grips with both. I encountered a few issues when trying to run the project but I think that I have managed to debug them. I have taken a screenshot of the project after running yarn dev - is that what is supposed to show on screen?

yarndevresult yarndevresult

Thanks Hasan

tiagostutz commented 3 years ago

Right, I have made the full path here cloning this repo from scratch, running yarn install and yarn run dev from the app folder and it worked. So we have to dig a little deep in your scenario to find out whats happening.

  1. What NodeJS version are you using (run node -v in the same terminal you are runningyarn run dev`)
  2. Have you cloned from your fork or from this original repo (we recommend cloning from your fork)
  3. Double check if you ran yarn install at the app folder and if the node_modules folder are there
  4. Those CSS files pointed as missing are indeep in the folder?
hasanosman2020 commented 3 years ago

Hi @tiagostutz - I believe that I have the project running locally. I did what you suggested - I forked the repo then cloned from my fork and I installed and ran yarn dev from the app folder. Thanks for your help. I have attached a screenshot of running yarn dev. So I'm good to go.

mTLSBestFriend
tiagostutz commented 3 years ago

Hi @hasanosman2020 are you still interested in tackling this issue?

reinaldocomputer commented 3 years ago

Hello,

Please check it out my PR and see if it solve this problem:

https://github.com/bancodobrasil/mtls-best-friend/pull/13

Thanks