generated from ReCoded-Org/fullstack-capstone-dockerized-template
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates and Changes #40
Open
mattshal1
wants to merge
21
commits into
main
Choose a base branch
from
ahmed
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Contributor
mattshal1
commented
Mar 13, 2024
- Add mongoose schema for items: This commit adds a mongoose schema for defining items, including properties such as title, description, price, etc.
- Add mongoose schema for restaurants: This commit implements a mongoose schema for defining restaurants, encompassing attributes like name, location, phoneNumber, etc.
- Add mongoose schema for reviews: This commit introduces a mongoose schema for defining reviews, including attributes such as rating, comment, reviewDate, etc.
- Add mongoose schema for users: This commit implements a mongoose schema for defining users, including attributes like username, password_hash, email, etc.
- Add CRUD routes for items, restaurants, and orders in adminController: This commit adds CRUD routes in the adminController for managing items, restaurants, and orders.
- Add routes for customer actions in customerController: This commit introduces routes in the customerController for managing orders and carts for customers.
- Add routes for restaurant actions in restaurantController: This commit adds routes in the restaurantController for fetching restaurants and their details.
- Add routes for user signing actions in signingController: This commit introduces routes in the signingController for user signing actions, including signing in, signing up, and signing in with Google.
- Add Passport configuration for JWT and Google OAuth2.0 strategies: This commit adds Passport configuration for JWT authentication and Google OAuth2.0 authentication.
- Add function to create access and refresh tokens: This commit introduces a function to create access and refresh tokens for users.
- Add functions for retrieving nearby restaurants based on user location: This commit adds functions for retrieving nearby restaurants based on user location.
- Add pagination function for handling paginated results: This commit introduces a pagination function to handle paginated results.
mattshal1
requested review from
FarahArar,
Sanad-Alshobaki,
Lubnabd and
Wajd-AlKayyali
March 13, 2024 10:39
Lubnabd
approved these changes
Mar 25, 2024
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.