After successful deployment to Heroku. I was able to register and send data to the database (mongo) and i checked to confirm this on the atlas dashboard. but when I tried to get posts on the client-side. it cant be retrieved. Please what can be the problem?
I was able to post data to the MongoDB from heroku but not able to fetch (get) data to the client (MERN Stack)
110 Views Asked by Zeeson At
1
There are 1 best solutions below
Related Questions in HEROKU
- NoMethodError: undefined method `update_average_rating' for nil:NilClass
- Using Amazon KMS service on Heroku
- How to have Heroku build my development branch on a staging server?
- Heroku not fetching from DB when scheduler running
- Search for a key in django.core.cache
- Ruby app fails in https request on heroku.com
- Rails: NameError: uninitialized constant Rails::Application::YAML
- clojure worker-only app on heroku fails with Error R10
- Clockwork not logging to Heroku console
- Javascript working in development locally but not production on Heroku
- Heroku PostgreSQL Studio not finding databases
- Heroku : Username for 'https://git.heroku.com': git
- Pg backups curl latest dump from Heroku
- How do you deploy build artifacts to Heroku from Codeship?
- Custom validation message (in model file) that includes a path not working
Related Questions in DEPLOYMENT
- Can I deploy multiple instances of my application on the same windows phone?
- Deploy enterprise (in-house) application on windows phone without developer unlocking the phone?
- uninitialized constant ActiveMerchant::Billing::CreditCard::Validateable (NameError) - in Spree shop
- How to Continuously Develop and Deploy an Access 2010 Database Application
- Efficient way of organizaing mail sending from Rails app
- Deployment over GPRS to embedded devices
- Weblogic 12c web application not start properly after server reboot
- Deployment in Weblogic 10.3, how to change properties
- Deployed Version of MVC Site Not Working
- Laravel 5 on shared hosting getting internal server error
- Integration between Java Applets and .Net dll
- Capistrano Rails deploy with new migration files
- EF Code First - Multiple Application Versions Sharing A Database
- Docker: How to create a stack, multiple images or one base image?
- Slow wpf startup due to publish policy... maybe
Related Questions in MERN
- cannot include css files from node_modules on webpack
- Unexpected token in JSON at position 22901 when importing JSON file in react
- How to deploy MERN project using webpack
- Remove widget from React APP
- Got console error `unexpected token <` from sign in page (using keystonejs 4.0 beta4)
- Socket.on is not firing
- Why do I get {"message":"Authentication invalid"} from my heroku app?
- I was able to post data to the MongoDB from heroku but not able to fetch (get) data to the client (MERN Stack)
- Cannot read property 'prototype' of undefined, express
- deploying MERN stack, using github pages and heroku
- How do I save uploaded file with other fileds using MERN?
- MERN && Heroku: My app displays on VirtualBox/Linux environment, but not on Windows or mobile
- how can we use data received through axios put request on client side in mern stack?
- Why my mern app cannot be deployed to Heroku?
- How to get return value from Mongoose save function using axios in React JS?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
First of all you should add details like :
Your router for post
Your Frontend Code where you are fetching data
And if necessary also post errors.
Now as mentioned here
You can check heroku logs , maybe you will find errors there. Or else post more details.
You can check your heroku logs by using :