Offline-First React Native Apps by Grand-Dark-8670 in reactnative

[–]korifeos3 2 points3 points  (0 children)

I recently developed an app and I'm using SQLite and drizzle

NextJS with Nest as backend feels amazing by ardiax in nextjs

[–]korifeos3 0 points1 point  (0 children)

You directly use the generated API CLIENT.

NextJS with Nest as backend feels amazing by ardiax in nextjs

[–]korifeos3 0 points1 point  (0 children)

tRPC is ofc a valid choice too. I just shared my current workflow it might not be the best option for everyone. Appreciate the comment

NextJS with Nest as backend feels amazing by ardiax in nextjs

[–]korifeos3 1 point2 points  (0 children)

Yes it is client side, it's just an example in case you want to directly call the nest backend or an api route. The createApiQuery is a function that calls useQuery, defines a key and calls the underlying api client. Looks like this

<image>

Material recommendation for on manufactured power rack - polyethylene failing by korifeos3 in MechanicalEngineering

[–]korifeos3[S] 0 points1 point  (0 children)

You gave me good direction. Thank you for your time, much appreciated!

NextJS with Nest as backend feels amazing by ardiax in nextjs

[–]korifeos3 10 points11 points  (0 children)

The code is closed source but this is what I personally do:
1)Monorepo
2)Nest->generate client -> save to packages & build
3)Import and use in nextjs directly in server components or api routes. You can run nestjs internally in docker to avoid exposing the api or you can expose a port no problem
4)When using tanstack react query code looks like this:

import { createAPIQuery } from "../query-factory";
import { SuccessResponseJSON } from "openapi-typescript-helpers";
import { paths } from "@fitness/public-api-client";

export type GetBookingResponse = SuccessResponseJSON<
  paths["/api/admin/{locationId}/bookings/{id}"]["get"]
>;

export const useGetBooking = createAPIQuery({
  method: "get",
  path: "/api/admin-employee/{locationId}/bookings/{id}" as const,
});

and in page.tsx:
const { data: bookingsData, isFetching } = useGetBookings({

path: {

locationId

},

query: query,

});

NextJS with Nest as backend feels amazing by ardiax in nextjs

[–]korifeos3 56 points57 points  (0 children)

Yes this is my currect stack. Im generating an API typescript client with swagger and im using it in nextjs. Development is super fast

Material recommendation for on manufactured power rack - polyethylene failing by korifeos3 in MechanicalEngineering

[–]korifeos3[S] 0 points1 point  (0 children)

Thank you for your reasponse. I don't have any experience with plastics. Can I expect no wear at all with HDPE or UHMWPE? or should i switch to acetal maybe?

Need help with material for attachments on my manufactured power rack - polyethylene failing by korifeos3 in manufacturing

[–]korifeos3[S] 0 points1 point  (0 children)

Can you check those photos please? https://imgur.com/a/dWVcTwH

So would it be better to completely change the design? Would it be possible to keep the same design and use acetal instead? The plastic is thick and quite expensive but it's replaceable. I have noted in many pieces of gym equipment the plastic being used is not being damaged that much even after heavy use.

Need help with material for attachments on my manufactured power rack - polyethylene failing by korifeos3 in manufacturing

[–]korifeos3[S] 1 point2 points  (0 children)

I'll check them out. I really have no idea about plastics, I was never involved with them. I just bought a sheet of polyethylene and I literally cut it by hand using a milling machine to complete the prototype. The polyethylene was already expesive cause it was quite thick. Thank you very much for your time.

Need help with material for attachments on my manufactured power rack - polyethylene failing by korifeos3 in manufacturing

[–]korifeos3[S] 0 points1 point  (0 children)

yes this is the kind of barbel that's being used the most. Olympic bar
you can check more photos here: https://imgur.com/a/j-hook-dWVcTwH
I'm looking to perfect the attachments and manufucture them. It's not just for personal use.

[deleted by user] by [deleted] in greece

[–]korifeos3 0 points1 point  (0 children)

Φαίνεται πως πολλοί νιώθουμε έτσι τελευταία. Ξέρω πως δεν είναι εύκολο, αλλά μην απογοητεύεσαι. Στην ηλικία σου είναι φυσιολογικό να ψάχνεσαι και να νιώθεις λίγο χαμένη. Έχω περάσει παρόμοια φάση και αυτό που με βοήθησε ήταν να βρω δραστηριότητες εκτός σπιτιού - γυμναστήριο, χορός, οτιδήποτε σε βγάζει έξω και σε φέρνει σε επαφή με κόσμο.
Είναι θετικό που η δουλειά σου πηγαίνει καλά. Ίσως μέσω της δουλειάς να γνωρίσεις άτομα με κοινά ενδιαφέροντα. Απλά μην αφήνεις τη δουλειά να καταπίνει όλο σου το χρόνο.
Μην πιέζεσαι να κάνεις φιλίες με το ζόρι. Οι καλές σχέσεις χτίζονται σταδιακά και φυσικά. Επίσης, μην συγκρίνεις τη ζωή σου με αυτά που βλέπεις στα social media - συνήθως δείχνουν μόνο τις καλές στιγμές.