Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aryan-9211
Copy link

No description provided.


## 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.

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.

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 ![hosts file](public\assets\hosts.jpeg). Make sure `127.0.0.1 localhost`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you -> your

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants