e-rmkt / tripify-travel-app

This is the repository of the final project of the neue fische Web Dev bootcamp. We had 4 weeks to create a web app optimized for Iphone SE, with a topic of our choice.
https://tripify-travel-app.vercel.app
7 stars 2 forks source link

User Story 12: Packing List ADD #28

Open AnnaD91 opened 1 year ago

AnnaD91 commented 1 year ago

Value proposition

As a travel enthusiast I want to add items to the packing list so that I can efficiently plan my trip more in detail and i know what to pack for my trip.

Description

Image

Acceptance criteria

Tasks

MongoDB Schema

import mongoose from "mongoose";

const { Schema } = mongoose;

const itemSchema = new Schema({
  item: { type: String, required: true },
});

const Item = mongoose.models?.Item || mongoose.model("Item", itemSchema);

export default Item;
miriam-ertl commented 1 year ago

Excellent, everything is clear VP, AC and Tasks.★★★★★