Code Monkey home page Code Monkey logo

mfp-promise-tracker's Introduction

MFP 300+ Promise Tracker

Move Forward Party promise tracker

๐ŸŒŽ Environment

๐Ÿ’ป Tech stack

๐Ÿ“ Architecture

The project use static site generator (SSG) strategy. In the pipeline, API is called once before the build time, which mean no API will be called after the static site is generated. To update the site after the data is updated, site needed to be built and deployed again.

  • JSON files then will be loaded by Nuxt from yarn dev and yarn build command

๐Ÿ“‚ Directory structure

Use pascal-case for every file name since Linux (eg. Github Action runner) is not case-incensitive, in contrary to Mac and Windows.

  • /components Vue components
    • Put on the root if it's shared between pages
    • Put in the /components/<page>/ if it's only used in that page
    • If components is too big or getting duplicated, you should split into several component which can also be group in sub-folder
  • /data JSON promises and related data, including example one before fetching script is implemented.
  • /models Data types (interface, enum, etc.) sharing across the project
  • /pages Represent Nuxt routing
  • /static Static assets such as images
    • Before adding new assets, check first if it's already exist here.
    • $config.path.base can be used to reference static path (or base path)
    • $config.path.images can be used to reference static/images path
      <img :src="`${$config.path.images}/status/nodata.png`"
    • For SVG that can change the color (eg. button icon on hover), recommend in use inline svg with currentColor and Tailwind color preset
  • /tests Test file
    • Recommend to mimick project structure eg. /tests/components/component-name.test.ts

๐Ÿ’… Styling and design system

  • We used WeVis Design System which provide
    • Utility classes for typography
    • Vue component
  • For other styling customization beyond WeVis design system, use Tailwindcss
    • Color is defined in tailwind.config.css which naming should be related to Figma
    • Configuration is also available on http://localhost:3000/\_tailwind/ when dev server is running

๐Ÿค Contributor

Core repo : WeVis Team

Design : K.Pond

Dev : K.Kawin, K.Ble, K.Hart

Content : K.Air, K.Meen

๐Ÿค License

This repo has been modified from WeVis Github for public use.

mfp-promise-tracker's People

Contributors

nitikornbunya avatar bouroo avatar droppdeadz avatar doublebuzzwoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.