{"id":24399702,"url":"https://github.com/manishpjha/next-prisma-starter","last_synced_at":"2025-07-12T21:36:29.743Z","repository":{"id":192446531,"uuid":"686863809","full_name":"ManishPJha/next-prisma-starter","owner":"ManishPJha","description":"The Next.js Prisma Starter is a foundational boilerplate for building modern web applications with Next.js, Prisma, and Redux Toolkit. It provides a solid starting point for developers looking to create feature-rich web applications with efficient data handling, routing, and state management.","archived":false,"fork":false,"pushed_at":"2023-09-04T07:24:00.000Z","size":86,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:51:16.993Z","etag":null,"topics":["boilerplate","boilerplate-application","nextjs","postgresql","prisma","prisma-orm","redux-toolkit","rtk-query","typescript"],"latest_commit_sha":null,"homepage":"","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/ManishPJha.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":"2023-09-04T05:34:51.000Z","updated_at":"2024-07-26T06:02:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2f9fc85-997b-4c32-880c-7f3c17e6c158","html_url":"https://github.com/ManishPJha/next-prisma-starter","commit_stats":null,"previous_names":["manishpjha/next-prisma-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManishPJha%2Fnext-prisma-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManishPJha%2Fnext-prisma-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManishPJha%2Fnext-prisma-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManishPJha%2Fnext-prisma-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManishPJha","download_url":"https://codeload.github.com/ManishPJha/next-prisma-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465305,"owners_count":21108243,"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":["boilerplate","boilerplate-application","nextjs","postgresql","prisma","prisma-orm","redux-toolkit","rtk-query","typescript"],"created_at":"2025-01-19T23:51:17.053Z","updated_at":"2025-04-11T19:03:44.143Z","avatar_url":"https://github.com/ManishPJha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next-Prisma-Starter\n\nNext-Prisma-Starter is a boilerplate project designed to help you quickly set up a well-organized development environment for building web applications using Next.js, Prisma, Redux Toolkit, RTK Query, and Tailwind CSS for styling. This starter template provides a solid foundation for your projects, making it easier to get started with popular technologies and best practices.\n\n## Tech Stack\n\n- **Next.js**: A popular React framework for building server-rendered and statically generated applications.\n- **Prisma**: A modern database toolkit for Node.js and TypeScript, making database access and management more efficient and developer-friendly.\n- **Redux Toolkit**: A library that simplifies state management in React applications, enabling you to write scalable and maintainable code.\n- **RTK Query**: A powerful data-fetching library that simplifies fetching, caching, and updating data in your React components.\n- **Tailwind CSS**: A utility-first CSS framework for rapidly building custom user interfaces with minimal CSS code.\n\n## Getting Started\n\nTo get started with Next-Prisma-Starter, follow these steps:\n\n1. **Clone the Repository**: Clone this repository to your local machine using Git.\n\n   ```bash\n   git clone https://github.com/ManishPJha/next-prisma-starter.git\n   ```\n\n2. **Install Dependencies**: Navigate to the project directory and install the required dependencies.\n\n   ```bash\n   cd next-prisma-starter\n   npm install\n   ```\n\n3. **Set Up the Database**: Configure your database connection in the `prisma/schema.prisma` file. You can use PostgreSQL, MySQL, SQLite, or another supported database.\n\n4. **Run Migrations**: Apply database migrations to create the database schema.\n\n   ```bash\n   npx prisma migrate dev --name your_migration_name\n   ```\n\n   For existing schema you can update your schema changes without creating an migration folder with following command:\n\n   ```bash\n   npm run push\n   ```\n\n5. **Seed Database**: To seed your database with dummy data.\n\n   ```bash\n   npm run seed\n   ```\n\n   also you can set limit of dummy data you need from the `config` file located at `src/config/default.ts`\n\n6. **Start the Development Server**: Start the Next.js development server.\n\n   ```bash\n   npm run dev\n   ```\n\n7. **Open Your App**: Your application should now be running at [http://localhost:3000](http://localhost:3000). You can start building your project by modifying the source code located in the `src` directory.\n\n## Folder Structure\n\nNext-Prisma-Starter follows a well-organized folder structure to keep your codebase clean and maintainable. Here's a brief overview:\n\n- `src`: Contains the application's source code, including pages, components, Redux Toolkit setup, and React Query API endpoints.\n- `prisma`: Contains Prisma-related files, including the database schema (`schema.prisma`) and migrations.\n- `public`: Public assets such as images and fonts can be placed in this directory.\n- `styles`: Styling files, including Tailwind CSS configurations and global styles.\n- `pages`: Next.js pages for routing and rendering components.\n- `api`: Custom API routes for server-side logic.\n\n```bash\nnext-prisma-starter/\n├── prisma/\n├── public/\n├── src/\n│   ├── config/\n│   ├── pages/\n│   ├── redux/\n│   │   ├── api/\n│   │   ├── features/\n│   ├── styles/\n│   ├── types/\n│   └── utils/\n├── ...\n├── package.json\n├── tsconfig.json\n├── ...\n\n```\n\n## Documentation\n\nFor more detailed documentation on how to use Next-Prisma-Starter and its features, refer to the [Wiki](https://github.com/ManishPJha/next-prisma-starter/wiki).\n\n## License\n\nThis project is licensed under the MIT License. Feel free to use, modify, and distribute it as needed for your projects. Please refer to the [LICENSE](LICENSE) file for more information.\n\n## Contributions\n\nContributions are welcome! If you have suggestions, bug reports, or want to contribute to this project, please open an issue or create a pull request.\n\nHappy coding with Next-Prisma-Starter! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanishpjha%2Fnext-prisma-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanishpjha%2Fnext-prisma-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanishpjha%2Fnext-prisma-starter/lists"}