Skip to content

Mu-ji-bu/mujibu-client

Repository files navigation

Mujibu-client

Mujibu is the best fundraising website around Taiwan!

Prerequisites

  • Node.js v18.16.0

Installation

  1. use git clone to clone this repo to local.
  2. Run npm install in the project directory to install all required dependencies.
  3. Create a .env file at the root directory of the project and add the necessary environment variables. See the .env.example file for reference.
  4. Run npm run dev to start the application in development mode.
  5. Run npm run start to start the application in production mode.

Core Skills

Tools

Principles

Components Structure

  • components
    • block -> define basic components(ex: button)
    • pages -> define components for specific page(ex: projects)

Type Structure

  • button
    • Button.tsx -> write interface here
    • index.ts -> export this component
  • types
    • pages
      • projects -> like projects page, you may define some type, which can be centrally managed here

Contributors