-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make doc more beginner-friendly #6
base: main
Are you sure you want to change the base?
Conversation
|
||
## Solution | ||
|
||
If we want to make calls to our APIs beloging to *.realdevsquad.com, then we need to be originating those requests from the same origin. | ||
If we want to make calls to our APIs beloging to \*.realdevsquad.com, then we need to be originating those requests from the same origin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo : beloging -> belonging
|
||
We also need to run our local development server on a url that is serving over **https** so that our prod/staging _secure_ cookies can be sent in our requests originating form the browser, automatically as expected. | ||
First We also need to run our local development server on a url that is serving over **https** so that our prod/staging _secure_ cookies can be sent in our requests originating form the browser, automatically as expected. To do so you can right click in vs code ans select open with live server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Make the W small of We after First
- For all the apps we don't need live server, it has to just run on local development server which is already mentioned above. So, to improve you can write a table for this,
local development server | method
React Apps (3000 port) | npm start
You can add more, for vanilla js it is just live server etc.
|
||
To do so you can follow [this](https://www.groovypost.com/howto/edit-hosts-file-windows-10/) or [this](https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/); | ||
|
||
After that you hosts file should look like this . Make sure `127.0.0.1 localhost` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you -> your
No description provided.