This is a chat application built with Next.js on the client side and Node.js on the server side.
- Node.js
- npm
To setup the client, follow these steps:
- Navigate to the client and server directory:
cd client
cd server
- Install dependencies on both client and server:
npm i
-
Setup your client and server
.env
file -
After setup
.env
then setup yourfirebaseConfig.js
-
After follow 4 step then setup prisma
npx prisma generate //to generate db
npx prisma db push //to push schemas in database
npx prisma studio //to watch database activity
- Run client and server side using:
npm run dev //for client side
npm start //for server side
Now, you can open your browser and navigate to http://localhost:3000 to see the application in action.