akashyap2013 / CRUD_Application_Node

In this project, we are going to create node CRUD application with express and mongodb.
Apache License 2.0
263 stars 270 forks source link

heroku deployment #12

Open ankitsaini074 opened 2 years ago

ankitsaini074 commented 2 years ago

help

ksb96 commented 2 years ago

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 commented 1 year ago

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