To get started with Blynk, follow these instructions to set up the project on your local machine.
-
Clone the repository:
git clone https://github.com/arindal1/blynk-mern-app.git
-
Navigate to the project directory:
cd blynk-mern-app
-
Install the dependencies:
npm install
-
Install frontend dependencies and build the frontend:
npm run build
-
Set up your environment variables:
Create a
.env
file in the root of the project and add the following:PORT=5000 MONGO_DB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret MODE_ENV=development
To start the development server, use:
npm run server
To build and start the production server:
npm run build
npm start
Blynk is deployed using Render. You can access the live application here.
After setting up and running the application, you can:
- Sign Up: Create a new account.
- Log In: Access your account with your credentials.
- Send Messages: Start chatting with other users in real-time.