Giter Club home page Giter Club logo

petshop's Introduction

Next.js 14 PetSoft ๐Ÿ•

Screenshot (885)

Screenshot (884)

sunilmalani456 License

๐ŸŒ Live Demo

Explore the live demonstration of the project: nextjs14-petsoft

๐Ÿ“ Description

PetSoft Manage Your pet daycare with ease. Use PetSoft to easily keep track of pets under your care.

Folder Structure
nextjs14-devoverflow/
โ”œโ”€โ”€ actions/
โ”œ   โ”œโ”€โ”€ petActions.ts
โ”œโ”€โ”€ app/
โ”œ   โ”œโ”€โ”€ (app)/
โ”œ   โ”œ   โ”œโ”€โ”€ app/
โ”œ   โ”œ   โ”œ   โ”œโ”€โ”€ account/
โ”œ   โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œ   โ”œ   โ”œโ”€โ”€ dashboard/
โ”œ   โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ layout.tsx
โ”œ   โ”œโ”€โ”€ (auth)/
โ”œ   โ”œ   โ”œ   โ”œโ”€โ”€ login/
โ”œ   โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œ   โ”œ   โ”œโ”€โ”€ payment/
โ”œ   โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œ   โ”œ   โ”œโ”€โ”€ signup/
โ”œ   โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œ   โ”œ   โ””โ”€โ”€ layout.tsx
โ”œ   โ”œโ”€โ”€ (marketing)/
โ”œ   โ”œ   โ””โ”€โ”€ page.tsx
โ”œ   โ”œโ”€โ”€ icon.svg
โ”œ   โ”œโ”€โ”€ layout.tsx
โ”œ   โ””โ”€โ”€ api/
โ”œ       โ”œโ”€โ”€ stripe/
โ”œ       โ”œ   โ””โ”€โ”€ route.ts
โ”œโ”€โ”€ components/
โ”œ   โ”œโ”€โ”€ context/
โ”œ   โ”œ   โ”œโ”€โ”€ pet-context-provider.tsx
โ”œ   โ”œ   โ”œโ”€โ”€ search-context-provider.tsx
โ”œ   โ””โ”€โ”€ ui/ (generated by shadcn-ui)
โ”œ       โ”œโ”€โ”€ app-footer.tsx
โ”œ       โ”œโ”€โ”€ app-header.tsx
โ”œ       โ”œโ”€โ”€ auth-form-btn.tsx
โ”œ       โ”œโ”€โ”€ auth-form.tsx
โ”œ       โ”œโ”€โ”€ background-pattern.tsx
โ”œ       โ”œโ”€โ”€ branding.tsx
โ”œ       โ”œโ”€โ”€ contenBlock.tsx
โ”œ       โ”œโ”€โ”€ h1.tsx
โ”œ       โ”œโ”€โ”€ logo.tsx
โ”œ       โ”œโ”€โ”€ pet-button.tsx
โ”œ       โ”œโ”€โ”€ pet-form-btn.tsx
โ”œ       โ”œโ”€โ”€ pet-form.tsx
โ”œ       โ”œโ”€โ”€ petDetails.tsx
โ”œ       โ””โ”€โ”€ petlist.ts
โ”œ       โ”œโ”€โ”€ search-form.tsx
โ”œ       โ””โ”€โ”€ sign-out-btn.ts
โ”œ       โ””โ”€โ”€ stats.ts
โ”œโ”€โ”€ constants/
โ”œ   โ”œโ”€โ”€ filters.ts
โ”œ   โ””โ”€โ”€ index.ts
โ”œโ”€โ”€ content/
โ”œ   โ”œโ”€โ”€ countries.json
โ”œ   โ””โ”€โ”€ jsearch.json
โ”œโ”€โ”€ context/
โ”œ   โ””โ”€โ”€ ThemeProvider.ts
โ”œโ”€โ”€ prisma/
โ”œ   โ”œโ”€โ”€ schema.prisma
โ”œ   โ”œโ”€โ”€ seed.ts
โ”œโ”€โ”€ lib/
โ”œ   โ”œโ”€โ”€ auth-edge.ts
โ”œ   โ”œโ”€โ”€ constant.ts
โ”œ   โ”œโ”€โ”€ db.ts
โ”œ   โ”œโ”€โ”€ hooks.ts
โ”œ   โ”œโ”€โ”€ next-auth.d.ts
โ”œ   โ”œโ”€โ”€ server-utils.ts
โ”œ   โ”œโ”€โ”€ types.ts
โ”œ   โ”œโ”€โ”€ utils.ts
โ”œ   โ”œโ”€โ”€ validation.ts
โ”œโ”€โ”€ public/
โ”œ   โ”œโ”€โ”€ logo.svg
โ”œโ”€โ”€ styles/
โ”œ   โ”œโ”€โ”€ global.css
โ”œโ”€โ”€ .eslintrc.json
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ components.json
โ”œโ”€โ”€ middleware.ts
โ”œโ”€โ”€ next.config.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ postcss.config.js
โ”œโ”€โ”€ tailwind.config.ts
โ””โ”€โ”€ tsconfig.ts

โœจ Technologies Used

PetSoft is built using the following technologies:
  • TypeScript: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
  • Next.js: Next.js is a React framework for building server-side rendered and statically generated web applications.
  • Tailwind CSS: Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces.
  • ESLint: ESLint is a static code analysis tool for identifying problematic patterns found in JavaScript code.
  • Prettier: Prettier is an opinionated code formatter.
  • Clerk: Next auth is a developer-first authentication API that handles all the logic for user sign up, sign in, and more.
  • Shadcn-UI: Shadcn UI is a React UI library that helps developers rapidly build modern web applications.
  • Postgresql: Postgresql is a powerful, open-source object-relational database system.
  • Prisma: Prisma is a modern database access toolkit that makes it easy to build type-safe, composable database access.
  • reacthook-form: React Hook Form is a performant, flexible, and extensible forms with easy-to-use validation.
  • Zod: Zod is a TypeScript-first schema declaration and validation library.
  • Stripe: Stripe is a suite of payment APIs that powers commerce for online businesses of all sizes.
  • Vercel: Vercel is a cloud platform for frontend developers, providing the frameworks, workflows, and infrastructure to build a faster, more personalized Web.

Technologies Used

๐Ÿงฐ Get Started

To get this project up and running in your development environment, follow these step-by-step instructions.

๐Ÿ“‹ Prerequisites

In order to install and run this project locally, you would need to have the following installed on your local machine.

๐Ÿš€ Installation

  1. Clone the repository
git clone
  1. Change the working directory
cd nextjs14-petsoft
  1. Install dependencies
npm install
  1. Start the development server
npm run dev
  1. Open the project in your browser
http://localhost:3000

๐Ÿ“œ Scripts

All scripts are defined in the package.json file. Here is a list of all scripts:

Script Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run start Start your production site locally
npm run lint Run ESLint

Environment variables[^12] can be used for configuration. They must be set before running the app.

Create a .env file in the root directory of the project and add the following environment variables:

POSTGRES_URL=<YOUR_API_KEY>
POSTGRES_PRISMA_URL=<YOUR_API_KEY>
POSTGRES_URL_NO_SSL=<YOUR_API_KEY>
POSTGRES_URL_NON_POOLING=<YOUR_API_KEY>
POSTGRES_USER="default"
POSTGRES_HOST=<YOUR_API_KEY>
POSTGRES_PASSWORD=<YOUR_PASSWORD>
POSTGRES_DATABASE="verceldb"

AUTH_SECRET=<YOUR_AUTH_SECRET_KEY>


NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=<YOUR_STRIPE_API_KEY>

STRIPE_SECRET_KEY=<YOUR_SECRET_STRIPE_API_KEY>
STRIPE_WEBHOOK_SECRET=<YOUR_STRIPE_WEBHOOK_API_KEY>


CANONICAL_URL="http://localhost:3000"

๐Ÿš€ Deployment

Deploy to production (manual)

You can create an optimized production build with the following command:

npm run build

๐Ÿ”ง Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

To fix a bug or enhance an existing module, follow these steps:

  1. Fork the repo
  2. Create a new branch (git checkout -b improve-feature)
  3. Make the appropriate changes in the files
  4. Commit your changes (git commit -am 'Improve feature')
  5. Push to the branch (git push origin improve-feature)
  6. Create a Pull Request ๐ŸŽ‰

๐Ÿ“ License

petsoft is open source software licensed as MIT and is free to use โ€” See LICENSE for more details.

๐Ÿ“ง Contact

If you want to contact me you can reach me at..... LINK for more details.

petshop's People

Contributors

sunilmalani456 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.