feat: scaffold Strapi 5 CMS with PostgreSQL and i18n config
Add Strapi 5 headless CMS application at apps/cms/ with: - PostgreSQL database configuration (afterlife database) - i18n plugin enabled with Spanish (default) and English locales - TypeScript configuration - Standard Strapi middleware stack - Environment variable template (.env.example) - Admin panel locale support for es/en Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
apps/cms/config/admin.ts
Normal file
13
apps/cms/config/admin.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export default ({ env }) => ({
|
||||
auth: {
|
||||
secret: env("ADMIN_JWT_SECRET"),
|
||||
},
|
||||
apiToken: {
|
||||
salt: env("API_TOKEN_SALT"),
|
||||
},
|
||||
transfer: {
|
||||
token: {
|
||||
salt: env("TRANSFER_TOKEN_SALT"),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user