r/reactnative • u/AsSimple • Nov 08 '20
I built my first React Native app π My experience coming from web development in the comments
2
u/iam_daniello Nov 08 '20
Did you created the illustrations by yourself?
5
u/AsSimple Nov 08 '20 edited Nov 08 '20
I wish, would need quite a lot of practice to create these myself. The larger illustrations came from https://ui8.net and were customized in Figma to fit the app.
2
u/part_robot Nov 08 '20
Wow, that's an amazing resource. Thanks for sharing.
Also: nice app :) Looks excellent.
4
1
u/Sincjefe Nov 09 '20
What did you use to create the graph and what library do you use to Handle reminder ?
1
u/AsSimple Nov 09 '20
I used react-native-svg-charts with d3-scale for the chart and expo-notifications, expo-server-sdk-python, celery to handle reminders.
1
1
u/dev-balmda Nov 09 '20
which language did you use on the web app? it looks really good and similar with the react navigation.
1
1
1
u/IVIURRAY Nov 09 '20
Where is the API backend deployed? How do you communicate with it?
3
u/AsSimple Nov 09 '20
The API is deployed to api.dognote.app (hosted in UpCloud) and axios is used in React Native to make requests.
1
u/LinkifyBot Nov 09 '20
I found links in your comment that were not hyperlinked:
I did the honors for you.
delete | information | <3
1
u/finnish_splitz Nov 09 '20 edited Nov 09 '20
Looks really nice, but the time being in big bold white letters seems odd. Why is it so prominent? I would think thin, small, and grayish would look better.
Iβm criticizing that as really the only flaw. Everything else looks really nice. Iβm working on a dog app as well (in no way competitive to yours) and Iβll be checking this out more closely.
edit: if only a single photo is uploaded for an event you should prevent horizontal scrolling on the view. Also, when you go add a photo to a post and are still in the post screen, the bottom of the image preview is cut off.
Also, for selecting a breed, I would suggest using UI Kittenβs autocomplete component. I have a JSON list of all AKC recognized breeds that includes official name, plural name, and traditional name (aka Retriever (Golden) and Golden Retriever) if you would like that.
2
u/AsSimple Nov 09 '20
- You might be right. At some point I felt that time is an important aspect. I'll try and see how it looks when it's a bit less in the face.
- I will make the changes related to photos.
- I tried UI Kitten's autocomplete at some point, but having a bottom sheet felt more performant and native. It should have some search though. Yeah with breeds it's interesting, each country has their own versions so which one to pick? I did find a UKC recognized JSON, but currently went with one from wiki that has min weight and max weight attached as well, that can be used in the weight graph as a recommendation.Thanks for the great feedback π
3
u/decaySmash Nov 09 '20
I have a project I am looking to build with react native, but I am finding a lot of information that says to build a PWA in lieu of a native app. Any thoughts on this?
1
u/patelrr_21 Nov 09 '20
Search for TWA (Trusted Web Activities), it might help you to get your PWA on native app.
2
2
1
1
1
u/supermonkeyman183716 Nov 09 '20
man your app is pretty dope!! what have you used for navigation? and you used expo with managed workflow?
1
u/Elijah_101 Nov 12 '20
u/AsSimple do you have discord? I'd like to ask some questions as I'm working on a mobile app on my own as well. I'm currently working on the api side of it first. Thank you
45
u/AsSimple Nov 08 '20 edited Nov 08 '20
Hey /r/reactnative π
I just got my first React Native app DogNote to the App Store and Play Store. DogNote is an app for pet owners/caretakers to log pet-related events together in sync. Personalized events, reminders, weight graphs.
https://dognote.app/
Building it has been a delightful experience coming from web development. Most of the knowledge about React & state management carries over and to top it off Expo makes it possible to develop and deploy without even opening Xcode or Android studio. It's great not having to learn every new tool in one go but excited to try integrating a native module as well. I felt like the biggest differences from the web are the navigation and deployment side of things.
The project is written in TypeScript with Redux (redux-toolkit & redux-persist) for state management & UI Kitten for the UI library. I've been on the Expo managed workflow, a major major time saver π. Props to the Expo team! I do have a git branch, where I have ejected and experimenting with expo-in-app-purchases and react-native-watch-connectivity for communication with a watch app,Β but I'm not ready to drop all the benefits of managed workflow just yet.Β
Excited for the future of animations in React Native with the awesome new intuitive API of reanimated v2. This will bring so many more performant high-quality libraries to the table. It has also been great seeing posts on this subreddit from u/wcandillonΒ showing how even complex animations can be done in React Native π
The API is built using Django, PostgreSQL, Traefik. Celery for push notifications with Expo's Push API.
Other libraries & services used:
react-native-testing-library - unit tests
@gorgom/bottom-sheet - a performant bottom sheet component
react-native-reanimated - animations
AppMockUp for creating Apple Store & Google Play previews
S3, CloudFront, Lambda, expo-image-manipulator, react-native-expo-image-cache for caching & serving optimized images near the edge
UpCloud for hosting the API (I tried multiple VPS provides and was surprised by the massive performance difference between VPS providers in the same price range - https://www.vpsbenchmarks.com/ is worth checking out, which compares metrics in different categories)
Figma + SVGR for designs and anything SVG related
DataDog, Sentry - monitoring
NextJS, tailwindcss, Docusaurus - landing page, help docs