Git Product home page Git Product logo

devcommunewebsite's Introduction

Hii

Run Client & Server

Search TODO in Vs Code to complete

#for client
npm run dev

#for database add .env variables
npx prisma db generate
npx prisma db push

##(not need if there is no chnages created on schema.prisma file)


#for checking DB studio
npx prisma studio

#for running the email server
npm run email

Checkout .env variables (Don't Share with others)

1.Create a .env file in the root directory or change only the existing .env.example to .env

#cleck auth
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_cHVyZS1zYWxtb24tOTIuY2xlcmsuYWNjb3VudHMuZGV2JA
CLERK_SECRET_KEY=sk_test_ehpbCQAl910E76VG2NNQpWriD1gYwIB1EGSBY6p4Tg
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up

#databse secrets
DATABASE_URL='mysql://avnadmin:[email protected]:28966/defaultdb?ssl-mode=REQUIRED'


#uploadthing for image upload
UPLOADTHING_SECRET=sk_live_12d72f75b30ba7ab9af67f8a8dbee7181956f917a2e5d4c5a20ea29581ada9f7
UPLOADTHING_APP_ID=hpdwc2vfy6

#client url
NEXTAUTH_URL=http://localhost:3000


#Resend Api keys (for send email)
RESEND_API_KEY = re_8XC4ZjXf_8w7Z381pN5i1yYSJaU8thNXD
RESEND_EMAIL = [email protected]


devcommunewebsite's People

Contributors

suman-3 avatar atmajo avatar xcriminal1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.