- 10
- 952
Bryan Rigsby
Приєднався 20 вер 2013
Vercel Turso Prisma tutorial
turso.tech/
vercel.com/login
www.prisma.io/docs/orm/overview/databases/turso#how-to-connect-to-a-turso-database
Create Turso account and make db
npx create-next-app tursotest (no to App Router)
npm install @prisma/client prisma @libsql/client @prisma/adapter-libsql
npx prisma init
Create schema.prisma
npx prisma migrate dev --name init
npx prisma generate
Create component and api route
Update build script
"build": "next build && prisma generate",
Move files out of directory
Get auth creds
TURSO_DATABASE_URL
TURSO_AUTH_TOKEN
Update .env
Update schema.prismaurl = "env(TURSO_DATABASE_URL)"
turso auth login
turso db shell users 'less than' prisma/migrations/path to migration.sql
vercel.com/login
www.prisma.io/docs/orm/overview/databases/turso#how-to-connect-to-a-turso-database
Create Turso account and make db
npx create-next-app tursotest (no to App Router)
npm install @prisma/client prisma @libsql/client @prisma/adapter-libsql
npx prisma init
Create schema.prisma
npx prisma migrate dev --name init
npx prisma generate
Create component and api route
Update build script
"build": "next build && prisma generate",
Move files out of directory
Get auth creds
TURSO_DATABASE_URL
TURSO_AUTH_TOKEN
Update .env
Update schema.prismaurl = "env(TURSO_DATABASE_URL)"
turso auth login
turso db shell users 'less than' prisma/migrations/path to migration.sql
Переглядів: 265
Відео
Coffee Shop Walkthrough
Переглядів 4084 місяці тому
How to display menu and get items into shopping cart and display modal github.com/bryanrigsby/CoffeeShopTutorial npx create-react-app app-name reactrouter.com/en/main/start/tutorial getbootstrap.com/ add to index.js import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/js/bootstrap.bundle.min.js';
Zero To Deployed with Github and Netlify
Переглядів 3511 місяців тому
Learn how to set up a basic frontend project and deploy it to Netlify to show the world! Project Setup 1) create a new repo in Github - check box for Add Readme - select Node under Add .gitignore dropdown - dont worry about license 2) clone repo to local machine via Github desktop 3) open project in vs code 4) create index.html 5) create index.css file 6) create index.js file 7) link index.css ...
Have AI make your UI!
Переглядів 3011 місяців тому
Found this cool thing that will create UI code for you with simple sketches and prompting! github.com/SawyerHood/draw-a-ui tldr.tech/
ghDesktop branching and issues
Переглядів 19Рік тому
ALL CODE NEEDS TO BE REVIEWED BY HEAD CODD REVIEWER BEFORE MERGED DO NOT MAKE CHANGES TO MAIN BRANCH DO NOT PUSH BROKEN CODE 1) in Github Desktop, make a branch off of main branch 2) in Android Studio, make your changes to the code 3) in Github Desktop, commit your changes (bottom left) and push your changes to github.com (top right, push origin) 4) in Github Desktop, when code is ready to beco...
Github desktop pull push merge
Переглядів 53Рік тому
This is a short video to show how to pull push and merge with github.com and github desktop. i have an intro video here ua-cam.com/video/Ije0NQ3BmY0/v-deo.html
how to use github and github desktop
Переглядів 70Рік тому
1- login to github.com, navigate to repositories, and click New button 2 - give new repo a name, make it public or private, check Add a README file, click Create Repository 3 - once repository is created go to Github desktop and clone the repository to your local machine. To do this click arrow in top left next to Current Repository, then click arrow next to Add and select Clone Repository... U...
Great Video! you are my salvation! 😂
✝
Cool
what if I don't own the repo? I'm part of an organization and need to push files to the main repository - do I follow these same steps? I don't need to edit any code in the repository, just upload files.
You would clone the repo with the url from the green Code box and then open in your editor, add the files, then make a pull request. Same process as editing.
Amazing!