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

Registering the movies #38

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

Conversation

Hares27
Copy link
Contributor

@Hares27 Hares27 commented Oct 19, 2022

No description provided.

Copy link
Owner

@nayyyhaa nayyyhaa left a comment

Choose a reason for hiding this comment

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

Nice stuff! 🚀 This is a huge chunk of feature man!
Try testing your changes and a screenshot as well.

poster:form.poster.value
}

await fetch("http://localhost:3001/movies",{
Copy link
Owner

Choose a reason for hiding this comment

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

We can't use localhost after deployment, it'll break.

@Hares27
Copy link
Contributor Author

Hares27 commented Oct 22, 2022

Actually I mentioned that localhost as an example. After you ran your json server , you will get urls right. you have to change it with this url. I hope you got my point.

@Hares27
Copy link
Contributor Author

Hares27 commented Oct 22, 2022

It depends on your your local system.Actually the code works fine. You need to do a little bit change.

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