Giter Site home page Giter Site logo

isnackable / saf-duty Goto Github PK

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

saf-duty; A Duty Roster planner for the Singapore Armed Forces (SAF). It's tailored for military uses. MIT License.

Home Page: https://afpn-cdo.vercel.app

License: GNU General Public License v3.0

TypeScript 81.41% JavaScript 0.54% CSS 2.72% PLpgSQL 5.48% HTML 9.85%
army military national-service singapore

saf-duty's Introduction

Hey there πŸ‘‹, I'm Tommy

I am a cybersecurity student and an open-source advocate ✨

  • πŸ”­ I’m currently working on Payload development / Vulnerability Research

  • 🌱 I’m currently learning Assembly, C++, Rust

  • πŸ‘― I’m looking to collaborate on something cool

  • πŸ’¬ Talk to me about CTF, Hacking, Linux, Reverse Engineering

  • πŸ“ Personal site https://isnackable.me/

βš™οΈ Languages and Tools

arduino aws azure bash c cplusplus docker git typescript javascript linux mysql nextjs python vuepress

πŸ’» Open Source Work Stats

Metrics

saf-duty's People

Contributors

isnackable avatar

Stargazers

 avatar

Watchers

 avatar

saf-duty's Issues

[Feature Request]: Migrate to supabase and shadcn/ui

Below is the simple comparison of the two database as a service products.

supabase uses a relational database management system called PostgreSQL, it offers a free-tier hobby plan with:

  • Up to 500MB database & 1GB file storage
  • Up to 2GB bandwidth
  • Up to 50MB file uploads
  • Real time Postgres Changes
  • Unlimited API requests

sanity.io is a schemaless database built on top of Google cloud, it offers a free-tier plan with:

  • Up to 10k (1GB) Documents & 5GB assets
  • 10GB Bandwidth (per month)
  • Real-time data access
  • 5GB file uploads
  • 500k API requests (per month)

Additional notes:

Sanity is comparable to Firebase in how they store data, where firestore allows you to store β€œdocuments”. sanity.io is also the same and they basically use their plan. Thus, it may also be a viable option to switch to Firebase.

[BUG] Profile update account details

Description: Basically, when you update the profile account detail on another device, the changes of the user object may not reflect the latest details of account if they are already logged in.

Potential solution: Get the latest account details on first startup.

BUG: Stale data when switching user account

When switching to another account, for example demo to user.
This only seem to happen on safari browser, on ios.
The pages will show the demo user's data instead of the user's data. It requires a manual refresh for the data to show.

A potential fix is to remove the @lib/demo.data file, and just query the demo data from sanity.

Edit: This might have to do with an issue with next-auth session not updating/clearing properly. See nextauthjs/next-auth#4612

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.