Aungheinminn / todos

0 stars 0 forks source link

use t3 env #1

Open chanyeinthaw opened 3 months ago

chanyeinthaw commented 3 months ago

libs/database.ts ထဲမှာ ဒါမလုပ်ထားတာတွေ့လို့

if (!process.env.MONGODB_URI) {
  throw new Error('Please add your Mongo URI to .env.local');
}

t3 env သုံးလို့ရတယ်ဆိုတာလာပြောတာ

chanyeinthaw commented 3 months ago

ပီးတော့ why libs and lib ?

chanyeinthaw commented 3 months ago

ခုထိ npm သုံးတုန်းလား pnpm သုံးကြည့်

Aungheinminn commented 3 months ago

oki

On Sat, Jun 22, 2024 at 3:06 PM Chan Nyein Thaw @.***> wrote:

ခုထိ npm သုံးတုန်းလား pnpm သုံးကြည့်

— Reply to this email directly, view it on GitHub https://github.com/Aungheinminn/todos/issues/1#issuecomment-2183917569, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2DEGSXWQ6JFTGNF4KYSVELZIUZQJAVCNFSM6AAAAABJXIDJKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTHEYTONJWHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Aungheinminn commented 3 months ago

folder hmr ny tr :) libs ka

On Sat, Jun 22, 2024 at 3:01 PM Chan Nyein Thaw @.***> wrote:

ပီးတော့ why libs and lib ?

— Reply to this email directly, view it on GitHub https://github.com/Aungheinminn/todos/issues/1#issuecomment-2183916482, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2DEGSTCAQYDOVIYYSTKVIDZIUY7ZAVCNFSM6AAAAABJXIDJKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTHEYTMNBYGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>