Who, what, where? Regardless of which, note it down!
This project was inspired by my recently picked up habit wherein I would record in a default Notes app any person my partner would have an interaction with.
It is a somewhat of an inside joke between us. But then I thought, maybe noting these down may serve a purpose after all - to remind us of these seemingly ordinary moments and appreciate it for what it is. Thus, Note Anything was born.
This is created using the RN Project Template, which is an Expo project created with create-expo-app. To start:
-
Install dependencies
npm install
-
Start the app
npx expo start
env.template is provided as a template for your .env files. This is where you'll supply the necessary keys and tokens, in this case, our Supabase configuration.
Following mostly from this documentation, first, we would need to login to get our Personal Access Token:
npx supabase loginOnce successfully logged in, copy the token created in the CLI and add it to your .env.local file as your SUPABASE_ACCESS_TOKEN variable.
Once all needed variables for your Supabase configuration are already added to your env file, run the following command to generate and update your database types:
npx supabase gen types typescript --project-id <your_actual_project_id> > ./lib/database.types.ts