Welcome to VD Shoppers! This is a premium shopping website where you can find and purchase products from top-notch brands.
- Next.js: A React framework for building fast, server-rendered applications with ease.
- Tailwind CSS: A utility-first CSS framework packed with classes that can be composed to build any design, directly in your markup.
- Prisma: An ORM (Object-Relational Mapping) tool for Node.js and TypeScript that makes database access easy with an auto-generated query builder.
- Shadcn: A component library providing modern, customizable UI components.
Make sure you have the following installed:
- Node.js (>=14.x)
- npm (>=6.x) or yarn (>=1.22.x)
-
Clone the repository:
git clone https://github.com/VyomOp2/vd-shoppers.git cd vd-shoppers
-
Install dependencies:
npm install # or yarn install
-
Set up the database:
Create a
.env
file in the root of your project and add your database connection string. Example:DATABASE_URL="your-database-connection-string"
Then, run the following command to apply the Prisma migrations:
npx prisma migrate dev --name init
-
Start the development server:
npm run dev # or yarn dev
Open http://localhost:3000 with your browser to see the result.
pages/
- Contains the Next.js pages.components/
- Contains the React components.styles/
- Contains the Tailwind CSS styles.prisma/
- Contains the Prisma schema.
Refer to the documentation of the respective technologies for more information:
We welcome contributions to improve VD Shoppers. Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.
Happy shopping with VD Shoppers!