Skip to content

gadzooks/trips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

249 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

https://claude.ai/chat/33b47702-4327-4212-87e4-4528d2c51f6e

https://github.com/gadzooks/trips/settings/secrets/actions

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Google auth

# https://authjs.dev/getting-started/installation
# These are the environment values that are needed to be set for Google Auth
AUTH_GOOGLE_ID=<google client id>
AUTH_GOOGLE_SECRET=<google client secret>
AUTH_SECRET=<generate. see https://claude.ai/chat/a72892ac-0f69-45d4-9261-991755a748b1>
AUTH_URL=http://localhost:3000
AWS_ACCESS_KEY_ID=<aws access key with dynamodb permissions>
AWS_SECRET_ACCESS_KEY=<aws access key with dynamodb permissoin>
AWS_REGION=us-west-2
{
  "user": {
    "name": "Amit",
    "email": "[email protected]",
    "image": "https://path/to/url"
  },
  "expires": "2025-02-12T06:56:09.152Z",
}

AWS credentials & Tables per env

Prod

DB schema

Description PK SK Attribute
Trip 1 for user CREATEDBY#useri UUID7 tripId Title, isPublic
Trip 2 for user CREATEDBY#useri UUID7 tripId Title, isPublic
tags TAG#PUBLIC#travel UUID7 tripId Owner, isPublic, title
Tags 2 TAG#PUBLIC#utah UUID7 tripId Owner, isPublic, title
Public tags TAG#PUBLIC UUID tripId Title, IsPublic
Shared user INVITEES#userB UUID tripId1 Title, isPublic
Shared user INVITEES#userB UUID tripId2 Title, isPulic
Trip By Id TRIPID#UUID METADATA All attributes live here
Tags - private TAG#PRIVATE#travel UUID7 Title, isPublic
Tags - private TAG#PRIVATE#usa UUID7 Title, isPublic

About

create and share trips

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors