minimonolith 0.14.1 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -139,12 +139,12 @@ To set up authentication for the database, you need to provide the necessary env
139
139
  For MySQL:
140
140
 
141
141
  ```makefile
142
+ MM_API_DB_DIALECT=mysql
143
+ MM_API_DB_HOST=<your_database_endpoint>
144
+ MM_API_DB_PORT=<your_database_port>
145
+ MM_API_DB_DATABASE=<your_database_name>
142
146
  MM_API_DB_USERNAME=<your_database_username>
143
147
  MM_API_DB_PASSWORD=<your_database_password>
144
- MM_API_DB_DATABASE=<your_database_name>
145
- MM_API_DB_HOST=0.0.0.0
146
- MM_API_DB_PORT=<your_database_port>
147
- MM_API_DB_DIALECT=mysql
148
148
  MM_API_LOCAL_ENV=true
149
149
  MM_API_PROD_ENV=false
150
150
  ```
@@ -152,11 +152,13 @@ MM_API_PROD_ENV=false
152
152
  For SQLite:
153
153
 
154
154
  ```makefile
155
- MM_API_DB_DATABASE=<your_database_name>
156
155
  MM_API_DB_DIALECT=sqlite
157
- DB_STORAGE=:memory: # For in-memory SQLite database
156
+ MM_API_DB_DATABASE=<your_database_name>
157
+ MM_API_DB_STORAGE=:memory: # For in-memory SQLite database
158
158
  # Or
159
- DB_STORAGE=path/to/your/sqlite/file.db # For file-based SQLite database
159
+ MM_API_DB_STORAGE=path/to/your/sqlite/file.db # For file-based SQLite database
160
+ MM_API_LOCAL_ENV=true
161
+ MM_API_PROD_ENV=false
160
162
  ```
161
163
 
162
164
  Make sure to replace the placeholders with your actual database credentials. The `MM_API_LOCAL_ENV` variable is used to allow Sequelize to alter table structure automatically when working locally, while the `MM_API_PROD_ENV` variable controls logging of secret credentials for debugging purposes in non-production environments.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minimonolith",
3
3
  "type": "module",
4
- "version": "0.14.1",
4
+ "version": "0.14.3",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "scripts": {