A digital marketplace for UI Kits, Templates and Icons
This repository contains the sources of Drooul's website:
- It's powered by Next.js,
- It uses Tailwind CSS framework,
- It uses Payload as a CMS
- It uses Resend to send emails.
- It uses MongoDB as a database.
- It also has payment funtionality using Stripe
- It's build and deployed with Railway.
Use the following tools to set up the project:
-
Fork the repository by clicking on
Fork
option on top right of the main repository. -
Open Command Prompt on your local computer.
-
Clone the forked repository by adding your own GitHub username in place of
<username>
.
git clone https://github.com/<username>/website/
- Navigate to the website directory.
cd drooul
- Install all website dependencies.
npm install
- Add all the environment variables
PAYLOAD_SECRET=
MONGODB_URL=
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
RESEND_API_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
- Run the website locally.
npm run dev
- Access the live development server at localhost:3000.