Git Product home page Git Product logo

news's Introduction


Profile and News Page

Website dengan profile and news feed
Explore the docs »

View Demo on Vercel · Report Bug

Struktur Folder

Menggunakan struktur folder bawaan dari typescript, dengan penambahan beberapa folder, seperti components, modules, dan utils. Untuk folder lengkap bisa dilihat di file tsconfig.json. components berisi atomic component dan reusable, sementara modules adalah gabungan dari beberapa components, sedangkan utils berisi file-file utilitas, seperti fotmatNumber, formatDate, etc

Instalasi di dev

Pertama jalanlan perintah yarn

npm run dev
# or
yarn dev

Buka http://localhost:3000 dan lihat hasilnya.

Instalasi di prod

Pertama jalanlan perintah yarn

yarn build
yarn start

Buka http://localhost:3000 dan lihat hasilnya.

Dokoumentasi Component

Dokumentasi lengkap menggunakan storybook di link berikut : Dokumentasi

Terdapat atomic komponen baru, yaitu

  • Button
  • Image
  • List
  • Livestream
  • Navbar
  • Pill
  • Skeleton
  • Thumbnail

Unit Testing

Unit testing dibagi menjadi 2, yaitu unit testing untuk fungsionalitas dan snapshot. Berikut hasil unit testing.

Unit Test

Lighthouse Report

Berikut pengecekan core web vital dengan lighthouse

Vital

news's People

Contributors

condrowiyono avatar condrosicepat avatar

Watchers

James Cloos avatar  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.