Commit Graph

37 Commits

Author SHA1 Message Date
Sean Morley
f8f12e4ba3 chore: Refactor trip API endpoint to include adventures 2024-05-15 21:17:04 +00:00
Sean Morley
126a256253 chore: Add tripId field to Adventure interface and schema 2024-05-15 21:13:31 +00:00
Sean Morley
b94fdc7107 chore: Add tripId field to Adventure interface and schema 2024-05-15 21:06:01 +00:00
Sean Morley
9d7670bcb1 Add trip launch button to TripCard component and create server routes for trip API 2024-05-13 23:21:54 +00:00
Sean Morley
3863d0b2ac Remove planned trip 2024-05-13 23:03:28 +00:00
Sean Morley
7565279e61 Added new trip plan creator and removed visit count stores 2024-05-06 23:13:38 +00:00
Sean Morley
01865951ac Added new trip plan creator and removed visit count stores 2024-05-06 23:13:32 +00:00
Sean Morley
ca7592989a feat: Add markVisited function to AdventureCard.svelte and +page.svelte
The code changes include adding a new function called markVisited to the AdventureCard.svelte and +page.svelte files. This function is responsible for marking an adventure as visited and dispatching an event to update the adventure's status. This enhancement allows users to mark adventures as visited in the planner page and triggers the corresponding API request to update the adventure's status in the database.
2024-05-05 19:06:23 +00:00
Sean Morley
716323657b feat: Add "Planner" button to Navbar component
The code changes include adding a "Planner" button to the Navbar component. This button allows users to navigate to the Planner page. The changes involve modifying the Navbar component in the src/lib/components/Navbar.svelte file.
2024-05-04 15:00:02 +00:00
Sean Morley
3127784632 feat: Add activity types functionality to CreateNewAdventure and AdventureCard components 2024-05-04 00:43:18 +00:00
Sean Morley
25adf07874 Refactor adventure page layout to display activity types and update server files 2024-05-03 21:29:35 +00:00
Sean Morley
2da4baf8a1 Add activity types to EditModal component and update server files 2024-05-01 00:14:31 +00:00
Sean Morley
6d4e860e43 Refactor adventure page layout to display activity types in +page.svelte and update server files 2024-04-30 23:04:12 +00:00
Sean Morley
9f9f0c3d87 Refactor adventure page layout to display activity types in +page.svelte and update server files 2024-04-30 22:52:07 +00:00
Sean Morley
296659ea27 Refactor CreateNewAdventure component to add activity types and update server files 2024-04-30 22:39:09 +00:00
Sean Morley
88a2ac07e6 Refactor error handling and add validation for adventure name in server and page files 2024-04-28 21:54:43 +00:00
Sean Morley
d4f94b436d Refactor adventure page layout and add dynamic content 2024-04-28 16:03:38 +00:00
Sean Morley
62109a41a6 Refactor AdventureCard component and add new adventure page 2024-04-27 20:24:25 +00:00
Sean Morley
ba84fbdcf3 Add GET request handler for retrieving an adventure by ID 2024-04-27 17:28:31 +00:00
Sean Morley
08579289a6 Remove userVisitedAdventuresTable 2024-04-26 23:04:41 +00:00
Sean Morley
37f050d254 Started Migration 2024-04-26 01:14:13 +00:00
Sean Morley
a3d4d757a9 Add new columns to userPlannedAdventures table and update Adventure interface 2024-04-21 22:56:27 +00:00
Sean Morley
ef42491421 Refactor version API endpoint to use package.json for version detection 2024-04-20 17:32:46 +00:00
Sean Morley
172504fa66 Add version detection endpoint 2024-04-20 16:59:03 +00:00
Sean Morley
c5ce984cac Add country_code field to userVisitedWorldTravel table 2024-04-14 13:39:32 +00:00
Sean Morley
00d9270546 Update AdventureCard component to include regionId and visited properties 2024-04-13 23:09:52 +00:00
Sean Morley
a6c3738c48 Add name and date columns to sharedAdventures table and display them in shared adventure page 2024-04-11 22:21:09 +00:00
Sean Morley
70e23b8878 Update visit count and password hashing 2024-04-10 23:34:48 +00:00
Sean Morley
3dcad53004 Add clearvisits API endpoint and implement DELETE method***
***Handle error when no id is found in DELETE method***
***Update deleteData function in log page to use clearvisits API endpoint
2024-04-10 17:54:19 +00:00
Sean Morley
bc0e1b4db2 Add visit count functionality to Navbar and Log page 2024-04-10 17:47:20 +00:00
Sean Morley
45545fd8ce Add PUT route to update existing adventure and refactor adventureService 2024-04-10 14:58:42 +00:00
Sean Morley
ed9a579fc2 Add POST endpoint to create new adventure and update adventureService 2024-04-10 14:51:51 +00:00
Sean Morley
7ba879f7d9 Add DELETE endpoint to visits API and update log page 2024-04-10 14:33:41 +00:00
Sean Morley
ea79fd2d76 Add log page, update database schema, and API endpoint for user visits 2024-04-06 12:54:17 +00:00
Sean Morley
d834cef83b Add userVisitedAdventures table and API endpoints for visits and userinfo 2024-04-03 23:55:00 +00:00
Sean Morley
83cca15a8f Consistent code formatting 2024-04-02 22:02:20 +00:00
Sean Morley
56a8a45efb Add migrations and code for sharedAdventures table 2024-04-02 18:54:09 +00:00