feat: init project and add user module
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import Joi from 'joi';
|
||||
|
||||
export default Joi.object({
|
||||
NODE_ENV: Joi.string()
|
||||
.valid('development', 'test', 'production', 'staging')
|
||||
.default('development'),
|
||||
DATABASE_HOST: Joi.string().required(),
|
||||
DATABASE_PORT: Joi.number().port().default(5432),
|
||||
DATABASE_USER: Joi.string().required(),
|
||||
DATABASE_PASS: Joi.string().required(),
|
||||
DATABASE_NAME: Joi.string().required(),
|
||||
DATABASE_AUTOLOAD: Joi.boolean().default('true'),
|
||||
DATABASE_SYNC: Joi.boolean().default('true'),
|
||||
});
|
||||
Reference in New Issue
Block a user