Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS]: Get Started #4254

Open
1 of 10 tasks
martinsing opened this issue Mar 11, 2025 · 0 comments
Open
1 of 10 tasks

[DOCS]: Get Started #4254

martinsing opened this issue Mar 11, 2025 · 0 comments
Labels
docs Improvements or additions to documentation

Comments

@martinsing
Copy link

martinsing commented Mar 11, 2025

Enhancement hasn't been filed before.

  • I have verified this enhancement I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

For the following: https://orm.drizzle.team/docs/get-started/expo-new

The following are missing:

  • Step 1: npx create-expo-app --template blank-typescript right now it says npx **create expo-app** --template blank-typescript
    - is missing between create expo

  • Step 4 - Create a table: .db/schema.ts it currently says src/db/schema.ts. src/db is normal practice, it won't work with the rest of the code

  • Step 4c: Forgot to add this installation npm i babel-plugin-inline-import

  • Step 6: include npx expo customize metro.config.js

  • Step 7: include npx expo customize babel.config.js

  • Step 8: Needs a better description. It didn't mean anything to me as an intro.

npx drizzle-kit generate generates migrations by reading drizzle.config.ts and making the 1) ./drizzle folder, 2) migration.js within the folder, and 3) SQL migration file.

  • Step 9: Needs a better description too. Something like: Update App.tsx with the following. If successful you will see John's email.
    Is Step 4 - Connect Drizzle ORM to the database and Step 9 - Apply migrations and query your db redundant?

  • Step 10: npx expo start

  • Re-number the Steps. There are multiple Step 4 's

Better to front all the commands first?

npx expo install expo-sqlite
npm i drizzle-orm
npm i -D drizzle-kit
npm i babel-plugin-inline-import
npx expo customize metro.config.js
npx expo customize babel.config.js

Please see #3112


I made a repo to help explain things, though I'm not sure if I used Drizzle correctly. Use it however way you will. Thanks.

@martinsing martinsing added the docs Improvements or additions to documentation label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant