Skip to content

jasonluo07/hookloop-admin

Repository files navigation

hookloop-client

HOOKLOOP Side Project / Front-End Admin : This is a project tracking application by using Next.js and Typescript.

Project Status: Developing.

Prerequisites

  • Node.js : >=16.14.0
  • Yarn

Installation

  1. Clone this repository to your local machine.
  2. Run yarn 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 yarn start or yarn dev to start the application.

Core Skills

  • Next.js : React framework for building server-side rendered (SSR) and statically generated (SSG) web applications.
  • Ant Design : React UI library.
  • react-beautiful-dnd : Drag and drop lists for React library.
  • MongoDB : NoSQL document-oriented database.
  • Filestack : File Uploader
  • WebSocket : Real-time communication between the client and the server.

Tools

Coding Style

  • Naming Convention

    • Variable: 小駝峰命名
    • Constant: 使用全大寫,中間用底線分開
    • State: usestate 前綴 s* ,useContext 前綴 c*
    • Function: 小駝峰命名(不用底線隔開)
    • Type: 大駝峰
    • Interface: 開頭要用大寫 I
  • Folder Structure

    • 每個資料夾都用 index export
  • Others

    • import module 放置順序(eslint-plugin-simple-import-sort)
    • import 路徑(用小老鼠幫路徑取暱稱 🐭)(path alias)
    • 放置順序: uesState > Variable > pure function > API function > useEffect > render
    • 統一使用箭頭函示
  • Commit Message Guidelines

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published