Skip to content

akshay1502/tydd

Repository files navigation

TYDD (Travel Your Dream Destination)

How to get started

  • Clone the repo
    • git clone https://github.com/akshay1502/tydd.git
  • Install all dependencies
    • npm install
  • Running the project
    • npm run dev
  • Find backend at
    • https://github.com/akshay1502/tydd-frontend

Tech Stack used

  • Nextjs
  • Payload cms
  • Postgres by supabase
  • Supabase storage
  • vercel

/src/app includes below folders

  • /(frontend) - frontend
  • /(payload) - automaticall genereated by payload

Caution

Don't make any changes in /(payload) folder.

Note

To access cms hit /admin route.

Payload

  • /src/collections - contains all the collections
  • /src/globals - contains global pages
  • /src/payload - contain payload instance to be used for local APIs

Project working

  • Know the .env variables required from .env.example file
  • Find the configuration for postgres and storage provider by supabase in payload-config.ts file
  • Running npm run dev will create migrations and will pull the data from DB automatically (no need for manual migrations)
  • Local APIs by payload are used for faster performance and low latency
  • Find cms level restrictions in /src/access

About

Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors