akashyap2013/CRUD_Application_Node

heroku deployment

ankitsaini074 opened this issue · 2 comments

ksb96 commented

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

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