Skip to content

sennett-lau/pfp-asia-next-app

Repository files navigation

PFPAsia Next App

Introduction

A community made PFPAsia Website that builds based on NextJS, TypeScript, and TailwindCSS. While original PFPAsia website was built by the team and this project has partially linked to it. This project was initiated by Sennett Lau a.k.a Capyyy.

Pre-requisites

  • NodeJS
  • OpenSea API Key
  • MongoDB
  • Docker (Optional)

Getting Started

Start local development server

  1. Clone the repository:
git clone https://github.com/sennett-lau/pfp-asia-next-app
  1. Install the dependencies:
npm install
  1. Create a .env by copying the .env.sample file and fill in the required environment.
  2. Run the development server:
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

With Docker

  1. Clone the repository:
git clone https://github.com/sennett-lau/pfp-asia-next-app
  1. Build the Docker image:
docker build -t pfp-asia-next-app .
  1. Run the Docker container:
docker run -d -p 1111:3000 --env-file ./env pfp-asia-next-app:latest
  1. Open http://localhost:3000 with your browser to see the result.