Two Interconnected Crossplatform Mobile Apps with React Native for frontend and Node Express backend
In my firm the previous developer left an half baked project using Ionic Angular. I was not gonna touch Angular code base. Started A Fresh Start, which was like shooting in my foot. If i wanted i could have completed it from there but nope the Ionic Framework went over my head. I used my React Native Knowledge to create two apps. With the client's patience waning out. I was given an
I dont want to sound generic and biased against any framework, but i had more problems implementing major tasks requirement setup by the company's project manager. Not because i hated programming in dart but as an javascript and typescript developer being forced to make it in dart programming language made the entire coding experience a chore which i did not like. HOT TAKE -> Dart feels like a brainchild of java and javascript. I would much prefer react native over flutter, but i had to deal with the cards i was being dealt with.
Making the backend (The fun part)
Technologies Used
Backend Language - Node js
I had been given an ubuntu vps for the node process, and to reverse proxy i have used nginx proxy manager. Previously i had trouble setting up typescript with node js, it was actually the best way to develop an node application, which was to code out it in typescript and build it out in javascript. For a very long time i have been thinking about using Golang because of the things i can do with Go but not with typescript (maybe i could have if given a sophisticated amount of time), but at that time due to the stricter deadline i made up my mind to use node js and express.
Setting Up the Frontend (The painful part)
This might have been the most hardest part. Creating 2 apps one for vendor and one for client, the client will search its nearby radius for the vendors in their area, client can even book their i.e their hours the will be online. It was a quasi booking / Live booking session apps from which the user would buy their services and book them at their home.
One thing i would agree that react native is still more easier to use than other frameworks because of the compatibilty with other react packages.
Setting Up the Backend (The easier part)
The backend consists of node js with typescript, and the other packages like using geo json, aws-sdk with multer for file object upload, as well as using puppeteer for invoices pdf as it saves after creating a pdf and saving it to s3, as the vendor would try to create, with many other minor packages, to achieve a stable backend. The Socket Io server was the most weirdest part because i had to somehow make an dialog box for Alerting the chosen vendor by that client. The implementation of socket was a bit hacky but i did make it work.
Many other frameworks like nest js for node become more likable than creating your own typescript server, i am now thinking of using GO Language for next major projects. Either Go or Rust for major complex projects but would continue with node for the near future until i learn it all. I know it won't take much time for me to get around using axum for rust or gin for golang. Or i might just switch to pure C servers and attain enlightment.