Postgres Implementation#43
Open
X0Rhyth wants to merge 53 commits into
Open
Conversation
Allows reviewers to post reviews with zero stars.
Updated the existing packages and added new packages for Postgres implementation.
Checks if the campground exists before checking whether the current user is the author.
Replaced MongoDB with Postgres functionality along with other minor changes to the content policy.
|
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. |
Renew the expired cloud database.
Update the expired cloud Postgres database
Author
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.