Colt / YelpCamp

574 stars 561 forks source link

Postgres Implementation #43

Open X0Rhyth opened 1 year ago

X0Rhyth commented 1 year ago

This is a fork of Colt Steele's YelpCamp project using Postgres instead of MongoDB. A great demonstration of the contrast between relational and non-relational databases and their implementation in CRUD apps. Not that there is anything wrong with MongoDB. It's just a great learning experience and good exposure to Postgres after learning MongoDB . Feel free to explore.

Swapnil-jain commented 1 year ago

The link provided "https://yelpcamp-0qtg.onrender.com/" displays the home page correctly but gives internal server error when trying to access any other page.

X0Rhyth commented 4 months ago

The link provided "https://yelpcamp-0qtg.onrender.com/" displays the home page correctly but gives internal server error when trying to access any other page.

The cloud Postgres Database expires every three months so i had to create a new one and link the application to it. Now all the functionalities are restored.

https://yelpcamp-0qtg.onrender.com

And for how to create the cloud database on render.

https://github.com/X0Rhyth/YelpCamp-Postgres?tab=readme-ov-file