Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReOwn/Backend/models/favouriteModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ const favouriteSchema = new mongoose.Schema({
productId: { type: mongoose.Schema.Types.ObjectId, ref: "Product", required: true },
});

export const Favourite = mongoose.model("Favourite", favouriteSchema);
export const Favourite = mongoose.model("Favourite", favouriteSchema);
5 changes: 0 additions & 5 deletions ReOwn/Backend/models/userModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ required: true,
maxlength: 15,

},
address: {
type: String,
minlength: 5,
maxlength: 40,
},
deleted_at: { type: Date, default: null },
image:{
type: String,
Expand Down
7 changes: 7 additions & 0 deletions ReOwn/Frontend/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TODO: Turn on all components in project

## Steps to Complete
- [x] Add imports for AddAds, Checkout, All_Category, and ProductRecentlyAdded in src/App.jsx
- [x] Add routes in the router: /add-ads for AddAds, /checkout for Checkout, /all-categories for All_Category, /recently-added for ProductRecentlyAdded
- [ ] Run the development server to verify the routes work
- [ ] Test navigation to the new routes
Loading