AEAyoub ElGueddariinayoubblog.com·Sep 8, 2024 · 3 min readConnect Nextjs , Drizzle with NoenIntroduction He is a simple way on how to integrate nextjs , drizzle and noen 1 Create Nextjs App npx create-next-app@latest 2 Install drizzle and noen npm install @neondatabase/serverless drizzle-orm 3 Create a Schema and Database Connection // fi...00
AEAyoub ElGueddariinayoubblog.com·Dec 23, 2023 · 1 min readView Your React app on your phoneStep1 You need to be connected to the same wifi that you laptop is connected to Step2 go to your vite.config.js add server:{ host:true, } import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ ex...00
AEAyoub ElGueddariinayoubblog.com·Oct 3, 2023 · 1 min readHow To use .env in ReactjsTo use .env in react : \=> You need to create .env file . \=> Open the .env file and declare your environment variable. REACT_APP_NAME=react app REACT_APP_CLIENT_ID=adkksclsc.cscd52 Note: React enforces the prefix REACT_APP on every custom variable....00
AEAyoub ElGueddariinayoubblog.com·Jun 27, 2023 · 1 min readStyled-Components SolutionStyled-Components It's having an issue. I tried with upgrading and downgrading node and npm versions it always shows an error. To Fix this use latest LTS v5.3.10 version of styled-components For projects using JS/JSX(JavaScript)npm i -D styled-compon...01S
AEAyoub ElGueddariinayoubblog.com·May 24, 2023 · 1 min readLaravel SoftDeleteDef So the softdelete is a way of when deleting elments for your database they do not get deleted they stored in seprate space. How To use SoftDelete //so to use softdelete go to the table that you want to add it to it public function up(): void ...00