Code Monkey home page Code Monkey logo

smalltrack's Introduction

smalltrack

Smalltrack (social-media-all) is a web app that helps you track your social media.

quickstart

web

cd web
npm i
npm run dev

server

cd server
npm i
npm run dev

🥞

  • nextjs, tailwind
  • clerkjs
  • prisma
  • postgres
  • railway

smalltrack's People

Contributors

adnjoo avatar

Watchers

 avatar

smalltrack's Issues

add datepicker

  • show date on LinkForm, let user pick date
  • show date on Links
  • user can edit date on Links
  • date object should be same day [1]

look into data model date field `String`

problem:

field type is currently String - might be too unusual

need to add ?timezone offset when type of date is DateTime so that the date is what's in date picker and not e.g. 1 day behind due to time zone

Screenshot 2024-03-18 at 12 16 27 AM

possilbe solution:

revert back to DateTime and find client + server side handling

todo

  • data model
  • get route
  • upsert route

frontend

  • show
  • create

move to query builder

https://www.reddit.com/r/node/comments/wulc2w/what_is_prisma_bad_at/

Essentially, prisma is like any other ORM. It works great until you need to do something that it doesn't support, and then it breaks down fast. It's for this reason I tend to avoid ORMs in general and stick to query builders that are 1:1 wrappers to Sql (check out kysely for an interesting query builder in the works). What pains me most about Prisma, is that their model breaks down quicker than other ORMs I've used.

pros

  • fix timezone issue

cons

  • change architecture

sort by date and time

I want to know if I made two posts in one day that they're sorted reverse chronologically

e.g. the engagement one came later in the day IRL so it should be first in this list

Screenshot 2024-03-20 at 9 57 51 AM

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.