Data 4 all

A open-source data handling platform for Kungsbacka municipality, with the goal of streamlining their work handling various datasets. The prototyped was built using Next.js, Tailwind CSS, PocketBase, and shadcn.


My contribution

My thoughts

Working on the prototype was a great learning opportunity, but looking back on it there are some things i think could have been done better. but one in particular feels like a massive mistake;

User session: due to storing the authed user in a context, every fetch of data had to be done in client components using a useEffect instead of on the server which is how Next.js prefers it to be done by my understanding. This resulted in a lot of refactoring and every component needing a empty state even if the fetch would only take a few milliseconds.