{"id":22752785,"url":"https://github.com/9d8dev/pay","last_synced_at":"2025-04-13T00:35:36.694Z","repository":{"id":266740032,"uuid":"899214870","full_name":"9d8dev/pay","owner":"9d8dev","description":"Payload starter by 9d8","archived":false,"fork":false,"pushed_at":"2024-12-31T18:17:11.000Z","size":231,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-13T00:35:29.572Z","etag":null,"topics":["cms","cms-starter","next-js","payload","starter"],"latest_commit_sha":null,"homepage":"https://pay.9d8.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9d8dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-05T20:41:57.000Z","updated_at":"2025-02-12T19:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d948e7c2-e0b7-43ce-9936-2f2fdd0ac204","html_url":"https://github.com/9d8dev/pay","commit_stats":null,"previous_names":["9d8dev/pay"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d8dev%2Fpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d8dev%2Fpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d8dev%2Fpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d8dev%2Fpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9d8dev","download_url":"https://codeload.github.com/9d8dev/pay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650452,"owners_count":21139671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","cms-starter","next-js","payload","starter"],"created_at":"2024-12-11T06:07:19.564Z","updated_at":"2025-04-13T00:35:36.666Z","avatar_url":"https://github.com/9d8dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 9d8/pay\n\n![CleanShot 2024-12-06 at 11 29 43@2x](https://github.com/user-attachments/assets/e0f8e5b3-42af-41b1-af4d-516698f1726e)\n\nA modern, full-stack starter template powered by PayloadCMS and Next.js. Built with performance and developer experience in mind.\n\n[![Deploy](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/9d8dev/pay\u0026project-name=pay\u0026repository-name=pay\u0026branch=main)\n\n\u003e Need a version with user auth? Check out [pay-auth](https://github.com/9d8dev/pay-auth)\n\n## Features\n\n- **Next.js 15** with App Router\n- **PayloadCMS** for content management\n- **PostgreSQL** database with Neon\n- **AWS S3** for media storage\n- **Tailwind CSS** \u0026 **shadcn/ui** for styling\n- **Responsive** \u0026 **Mobile-First** design\n- **TypeScript** for type safety\n- **brijr/craft** utilities included\n\n## Prerequisites\n\nBefore you begin, ensure you have:\n\n- Node.js (^18.20.2 or \u003e=20.9.0)\n- pnpm package manager\n- PostgreSQL database (local or cloud)\n- AWS S3 bucket for media storage\n- Basic knowledge of TypeScript and React\n\n## Quick Start\n\n1. Clone and install dependencies:\n\n```bash\ngit clone https://github.com/9d8dev/pay.git\ncd pay\npnpm install\n```\n\n2. Set up your environment:\n\n```bash\ncp .env.example .env\n```\n\n3. Configure your `.env` file with:\n\n```env\n# Database Configuration\nDATABASE_URI=your_postgres_connection_string\nPAYLOAD_SECRET=your_secure_secret_key\n\n# S3 Configuration\nS3_BUCKET=your_bucket_name\nS3_REGION=your_bucket_region\nS3_ACCESS_KEY_ID=your_access_key\nS3_SECRET_ACCESS_KEY=your_secret_key\n```\n\n4. Start the development server:\n\n```bash\npnpm dev\n```\n\n5. Visit http://localhost:3000/admin to create your first admin user\n\n## Detailed Setup Guide\n\n### Database Setup\n\n1. **Local PostgreSQL:**\n\n   - Install PostgreSQL on your machine\n   - Create a new database\n   - Use the connection string: `postgresql://username:password@localhost:5432/database`\n\n2. **Cloud PostgreSQL (Recommended):**\n   - Create a database on [Neon](https://neon.tech)\n   - Copy the connection string from your dashboard\n   - Enable SSL mode with `?sslmode=require`\n\n### AWS S3 Configuration ([Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html))\n\n1. Create an S3 bucket:\n\n   - Go to AWS Console \u003e S3\n   - Create a new bucket\n   - Enable public access settings\n   - Configure CORS for your domain\n\n2. Create IAM credentials:\n\n   - Create a new IAM user\n   - Attach `AmazonS3FullAccess` policy\n   - Save the access key and secret\n\n3. Configure bucket policy:\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"PublicReadGetObject\",\n      \"Effect\": \"Allow\",\n      \"Principal\": \"*\",\n      \"Action\": \"s3:GetObject\",\n      \"Resource\": \"arn:aws:s3:::your-bucket-name/*\"\n    }\n  ]\n}\n```\n\n## Development\n\n### Project Structure\n\n```\npay/\n├── src/\n│   ├── app/           # Next.js app router\n│   ├── collections/   # PayloadCMS collections\n│   ├── components/    # React components\n│   └── lib/          # Utility functions\n├── public/           # Static assets\n└── package.json      # Dependencies\n```\n\n### Key Commands\n\n- `pnpm dev` - Start development server\n- `pnpm build` - Build for production\n- `pnpm start` - Start production server\n- `pnpm generate:types` - Generate PayloadCMS types\n\n## Deployment\n\n### Vercel Deployment\n\n1. Push your code to GitHub\n2. Import project to Vercel\n3. Configure environment variables\n4. Deploy!\n\n### Database Deployment\n\n- Use PostgreSQL (We recommend [Neon](https://neon.tech), or any other cloud provider with PostgreSQL support)\n- Enable serverless pooling\n- Configure connection pooling\n\n## Contributing\n\nWe welcome contributions! Please:\n\n1. Fork the repository\n2. Create a feature branch\n3. Submit a pull request\n\n## Support\n\n- [PayloadCMS Documentation](https://payloadcms.com/docs)\n- [Next.js Documentation](https://nextjs.org/docs)\n- [Payload Discord Community](https://discord.gg/payload)\n- [Issue Tracker](https://github.com/9d8dev/pay/issues)\n\n## License\n\nMIT [9d8](https://github.com/9d8dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9d8dev%2Fpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9d8dev%2Fpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9d8dev%2Fpay/lists"}