Skip to content

OmPreetham/nft-preview-card-component

Repository files navigation

NFT Preview Card Component

This is a React component for displaying NFT (Non-Fungible Token) preview cards. It's built using Vite for the project setup and React for the UI components. A challenge by Frontend Mentor.

Preview

Features

  • Displays NFT preview cards with customizable content.
  • Easily customizable styles.
  • Responsive design for various screen sizes.
  • Integrates seamlessly with React applications.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installing

  1. Clone this repository to your local machine using the following command:

    git clone https://github.com/OmPreetham/nft-preview-card-component.git
    
  2. Navigate into the project directory:

    cd nft-preview-card-component
    
  3. Install dependencies using npm:

    npm install
    

Usage

To run the project, use the following command:

npm run dev

This will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.

Build

To build the project for production, use the following command:

npm run build

This will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.

Build

To build the project for production, use the following command:

This will create an optimized build of the project in the dist directory.

Additional Information

  • This project was scaffolded using Vite, a blazing fast frontend build tool.
  • It uses React for building the user interface.
  • Feel free to customize the project according to your needs.

License

This project is licensed under the MIT License.