- 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
- Nextjs
- Payload cms
- Postgres by supabase
- Supabase storage
- vercel
- /(frontend) - frontend
- /(payload) - automaticall genereated by payload
Caution
Don't make any changes in /(payload) folder.
Note
To access cms hit /admin route.
- /src/collections - contains all the collections
- /src/globals - contains global pages
- /src/payload - contain payload instance to be used for local APIs
- 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 devwill 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