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

heroku deployment #12

Open
ankitsaini074 opened this issue Jul 26, 2022 · 2 comments
Open

heroku deployment #12

ankitsaini074 opened this issue Jul 26, 2022 · 2 comments

Comments

@ankitsaini074
Copy link

help

@ksb96
Copy link

ksb96 commented Jul 27, 2022

help

Install heroku CLI & git(on your system)
(for ref.- https://devcenter.heroku.com/articles/git)

after installation of the above 2, proceed with the below steps,

  1. on the terminal, heroku login -i
  2. cd /myapp
  3. git init
  4. heroku create crudapp
  5. (create a .gitignore file in the project root dir. and type inside the file "/node_modules")
  6. git add .
  7. git commit -m "My first commit"
  8. git push heroku master

*NOTE- Code deployed successfully but only CREATE user api is working. UPDATE & DELETE are currently not working after deployment

@suhailopensource
Copy link

help

Install heroku CLI & git(on your system) (for ref.- https://devcenter.heroku.com/articles/git)

after installation of the above 2, proceed with the below steps,

  1. on the terminal, heroku login -i
  2. cd /myapp
  3. git init
  4. heroku create crudapp
  5. (create a .gitignore file in the project root dir. and type inside the file "/node_modules")
  6. git add .
  7. git commit -m "My first commit"
  8. git push heroku master

*NOTE- Code deployed successfully but only CREATE user api is working. UPDATE & DELETE are currently not working after deployment

yeah mate even i got this problem on heroku
But its working smooth on netlify

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

No branches or pull requests

3 participants