This is an example of how to perform multiple simultaneous connections using the Mongoose library with Node.js.
- Node.js
- MongoDB
- Docker (for deployment)
- Clone the repository.
- Install dependencies with npm install.
- Set environment variables:
- APP_NAME
- APP_PORT
- MONGO_HOSTS
- MONGO_DATABASE
- TIME_ZONE
- Run the application with npm start.
This project includes a shell script shell.bash to automate deployment using Docker. The script builds a Docker image and runs a container with the application.
To deploy the application, follow these steps:
- Run the script with bash shell.bash remote deploy
This project is licensed under the MIT License. See the LICENSE file for details.