deleted by creator
deleted by creator
deleted by creator
Hello, I just came across this post while searching on lemmy, I hope you don’t mind my late comment on this post, so I can contribute to Lemmy. I have read your post multiple times, but if it’s not the answer you’re looking for, then I apologise in advance.
Messed up node modules, because I used npm and yarn
Delete node modules and do npm i or npm ci or yarn add.
Order
I usually do venv first, then I do Django backend, then React Native Expo frontend. However, the order itself isn’t that important, because the frontend and backend folders are separated. Doing backend then frontend is just more convenient since API is used.
For example, you deploy Django first then you compile Expo and you will see your API fetches. If you decide to do Expo first then Django it is still fine, just when you open your Expo app, you won’t see your API stuff from Django until you deploy Django.
A heads up that it’s a separate story if you use Docker, which I think you aren’t, since Docker is not mentioned.
Path
REACT_APP_API_URL = ‘http://127.0.0.1:8000’
‘./relative-folder/relative-photo.jpg’
os.path.join
It is generally advised not to use hardcoded paths, try to avoid if possible because whilst it works when you are developing locally, using hardcoded paths may not work during deployment. For Expo using hardcoded paths should still work.
It’s okay with me, I don’t rely on personalised algorithm anyway. Find what I need and off I go.
StackOverflow is good for:
general questions (when you don’t know where to look for) eg. how do I go about …?
specific questions (when you know what you want, in simple english) eg. suggest ways I can …?
quick fixes with more than one suggestion eg. I get this error, how to fix and please explain.
understanding concepts as different people explain concepts differently eg. what is …?
Documentation is good for:
details (when you need to know more and when you really know what you need)
features (find a list when you want to know what else you can do with it)
Hi, here is my humble personal take. I just find and watch any tutorials that I need. At the end of the day, my lessons are mostly learnt by doing my own projects. You are going to like what you like anyway, if you like a certain tutor you will find out eventually. I personally like tutors who teach me what others do not, and these tutors are not big, they just upload a video or two every now and then. I search by most recent, or specific terms. Most mainstream ones like you have mentioned only teach surface stuff, not all every video, but yea, you get what I mean.