DAPFY.COM is a secure digital marketplace where users can buy and sell digital products. It serves as a one-stop shop for digital goods, providing a platform for e-commerce transactions in the digital realm.
- Next.js (with App Router)
- React
- TypeScript
- Shadcn UI
- Radix UI
- Tailwind CSS
- Axios
- Zod
- React Hook Form
- Node.js (version 20.17)
- npm or yarn
-
Clone the repository:
git clone https://github.com/dapfycom/dapfy-market-fe.git cd dapfy-market-fe.git
-
Install dependencies:
npm install # or yarn install
-
Set up environment variables:
- Copy the
.env.example
file to.env.local
:cp .env.example .env.local
- Open
.env.local
and fill in the necessary values for each environment variable.
- Copy the
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
/app - Next.js App Router pages and layouts
/components - Reusable React components
/ui - UI components (e.g., Toaster)
/providers - Context providers (e.g., RootProvider)
/styles - Global styles (globals.css)
/public - Static assets
- Secure platform for buying and selling digital products
- User-friendly interface for easy navigation and transactions
- Responsive design using Tailwind CSS and the Inter font
- Toast notifications for improved user feedback
This project follows best practices for performance optimization:
- Utilizes React Server Components (RSC) to minimize client-side JavaScript
- Implements dynamic loading for non-critical components
- Optimizes images using WebP format and lazy loading
- Uses Tailwind CSS for efficient styling
The project includes comprehensive metadata for improved SEO:
- Title: "DAPFY.COM - Digital Marketplace"
- Description: "Buy and sell digital products securely on DAPFY.COM. Your one-stop shop for digital goods."
- Keywords: "digital marketplace, e-commerce, digital products, online shopping"
- OpenGraph data for better social media sharing
To deploy this project on Vercel, follow these steps:
-
Ensure your project is pushed to a Git repository (GitHub, GitLab, or Bitbucket).
-
Sign up or log in to Vercel.
-
Click "New Project" and import your Git repository.
-
Configure the project settings:
- Framework Preset: Next.js
- Root Directory: ./ (or your project root)
- Build Command: (leave as default)
- Output Directory: (leave as default)
-
Set up environment variables:
- In the Vercel dashboard, go to your project settings.
- Navigate to the "Environment Variables" section.
- Add all variables from your
.env.example
file, providing actual values for the production environment.
-
Click "Deploy" to start the deployment process.
-
Once deployed, Vercel will provide you with a URL for your live application.
Vercel automatically sets up continuous deployment. Future pushes to your main branch will trigger new deployments.
To add a custom domain:
- In the Vercel dashboard, go to your project settings.
- Navigate to the "Domains" section.
- Add and configure your custom domain.
For more detailed information, refer to the Vercel Documentation.
We welcome contributions to improve DAPFY.COM. Please read our contributing guidelines before submitting pull requests.