12345678910111213141516171819202122232425262728293031323334353637 |
- {
- "host": "localhost",
- "port": 3030,
- "public": "./public/",
- "origins": [
- "http://localhost:3030"
- ],
- "paginate": {
- "default": 10,
- "max": 50
- },
- "postgresql": {
- "client": "pg",
- "connection": "postgres://musare:PASSWORD@postgres:5432/musare"
- },
- "authentication": {
- "entity": "user",
- "service": "users",
- "secret": "9imbItLfHsGpCWPtt71nRGRXtSA0TzmN",
- "authStrategies": [
- "jwt",
- "local"
- ],
- "jwtOptions": {
- "header": {
- "typ": "access"
- },
- "audience": "https://yourdomain.com",
- "algorithm": "HS256",
- "expiresIn": "1d"
- },
- "local": {
- "usernameField": "email",
- "passwordField": "password"
- }
- }
- }
|