NPMChat v1.0
Built with Next.js & TypeScript
To run NPMChat locally, follow these steps.
backend/ directory..env file based on .env.example:PORT=8080
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_super_secret_key
CLOUDINARY_CLOUD_NAME=your_name
CLOUDINARY_API_KEY=your_key
CLOUDINARY_API_SECRET=your_secret
CLIENT_URL=http://localhost:3000
NODE_ENV=development
npm installnpm run devfrontend/ directory..env.local file:NEXT_PUBLIC_API_URL=http://localhost:8080
npm installnpm run devCLIENT_URL in the backend .env matches your frontend URL.