Giter Site home page Giter Site logo

sawocangkring / sda.untukkita.id Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.82 MB

Inisiatif independen informasi vaksinasi COVID-19 dan faskes di kota Sidoarjo.

Home Page: https://covid.sda.untukkita.my.id

License: Apache License 2.0

JavaScript 98.82% Shell 0.25% HTML 0.74% Dockerfile 0.19%
nextjs tailwindcss react sidoarjo-dev sidoarjodev hacktoberfest hacktoberfest-accepted

sda.untukkita.id's Introduction

UntukKita - Informasi Vaksinasi Sidoarjo

Code Analysis and Security Check Test Runner Lighthouse Production CodeFactor

untukkita.sda is an initiative to provide vaccination information and health services needed by the people of Sidoarjo during the pandemic. Based on our quick observations, we get the result that there is still no portal that focuses on providing vaccination information and health services. From this, we have the initiative to create a portal that can make it easier for the public to get information on vaccinations, facilities and health services for COVID-19.

In practice, we collect data (aggregation) from various credible sources, such as social media of the official or city government or the relevant agency unit. We perform quick validation of the information obtained by matching content and credible data sources.

The core team for untukkita.sda itself consists of student volunteers from Sidoarjo and the community with backgrounds in technology and data. Currently, the team for untukkita.sda consists of 5 members. We welcome contributions from the community in improving our quality in helping the community both in the scope of data, relations and technology.

Visit UntukKita Sidoarjo Website

Getting Started

To get started running the project locally, please follow the steps below.

First, clone the repository.

git clone https://github.com/untukkita-id/sda.untukkita.id.git

Then, install dependencies and fetch data to your local machine. Note that we use Yarn, not npm.

cd sda.untukkita
yarn install
yarn fetch-data

Finally, run the development server.

yarn dev

Open http://localhost:3000 with your browser to see the result.

Technical Details

The project is built with NextJS and Tailwind CSS.

Project Dependencies and Environment:

Any contributions are welcome. Please read the contributing file for more information.

Deploys by Netlify

Find us

sda.untukkita.id's People

Contributors

dependabot[bot] avatar vzrenggamani avatar wahyudwipamungkas avatar

Watchers

 avatar

sda.untukkita.id's Issues

feat: Data Source Pages

Summary

Add data source linked to Google Data Studio and Public Excel Link, if we could do some features, add graph to display current progress.

feat: split lighthouse assertions between PR and Prod

LHCI Runs for production and Pull Request must have different assertion. Some LH assertion production are not compatible with Netlify Preview Deployment Environment.

Detailed Description

Based on several runs on LHCI PR, some of important assertion are failed in netlify preview environment, but it succeed when runs on netify production. Current non comatible rules are

  • is-crawable
  • first-meaningful-paint
  • uses-rel-preconnect

Context

It makes better pull request reviewe process because it return valid CI Check in preview development.

Possible Implementation

  1. Create two LH Assertion file.
  2. Disable non-compatible rules for netlify preview assertions file
  3. Implement to GH Actions

chore: use absolute import for pages components

Possible Implementation

  1. Add javascript config
// ./jsconfig.json

{
  "compilerOptions": {
    "baseUrl": "."
  }
}
  1. Remove any directory level changes to absolute import
// Before

const PageTitle = dynamic(() => import('../components/page-title'));
const HomeMenu = dynamic(() => import('../components/home/home-menu'));
const Footer = dynamic(() => import('../components/footer'));
const Header = dynamic(() => import('../components/header'));

// After

const PageTitle = dynamic(() => import('components/page-title'));
const HomeMenu = dynamic(() => import('components/home/home-menu'));
const Footer = dynamic(() => import('components/footer'));
const Header = dynamic(() => import('components/header'));

References

https://nextjs.org/docs/advanced-features/module-path-aliases

testing: add basic e2e testing for pages

Detailed Description

Craft testing unit to validate every pages already declared siteInfo or metaTags pageBuilder component params. Making sure the SEO score in mind.

Optional

If anyone could make any PRs regarding this issues and have plenty time to do it, It would be nice to create a11y on components & pages.

References

FEAT: Use SSG Instead Client Side Rendering on faskes pages

Overview

Due to Netlify Functions Pricing is based on usage, and current page rendering method is quite heavy in API Request, we should defer Client Rendering on Fasilitas Kesehatan Pages.

Context

Current Netlify pricing is Pay-As-You-Go and it would become disasters when someone trying to flood the API without any Rate Limiting / caching.

Possible Implementation

Use Server Side Rendering on build process instead of Client Side Rendering, and disable any API Routes.

Refers:

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.