Commit 5a6ed661 by jay

initial commit

1 parent 00138363
...@@ -16,8 +16,8 @@ module.exports = ({ env }) => ({ ...@@ -16,8 +16,8 @@ module.exports = ({ env }) => ({
connection: { connection: {
host: env("DATABASE_HOST", "localhost"), host: env("DATABASE_HOST", "localhost"),
port: env.int("DATABASE_PORT", 3306), port: env.int("DATABASE_PORT", 3306),
database: env("DATABASE_NAME", "games"), database: env("DATABASE_NAME", "ucc"),
user: env("DATABASE_USERNAME", "games"), user: env("DATABASE_USERNAME", "ucc"),
password: env("DATABASE_PASSWORD", "12345"), password: env("DATABASE_PASSWORD", "12345"),
// schema: env("DATABASE_SCHEMA", "public"), // Not required // schema: env("DATABASE_SCHEMA", "public"), // Not required
// ssl: { // ssl: {
......
...@@ -8,8 +8,8 @@ module.exports = [ ...@@ -8,8 +8,8 @@ module.exports = [
useDefaults: true, useDefaults: true,
directives: { directives: {
"connect-src": ["'self'", "https:"], "connect-src": ["'self'", "https:"],
"img-src": ["'self'", "data:", "blob:", "dl.airtable.com", "hiranandanioffers.s3.ap-south-1.amazonaws.com"], "img-src": ["'self'", "data:", "blob:", "dl.airtable.com"],
"media-src": ["'self'", "data:", "blob:", "dl.airtable.com", "hiranandanioffers.s3.ap-south-1.amazonaws.com"], "media-src": ["'self'", "data:", "blob:", "dl.airtable.com"],
upgradeInsecureRequests: null upgradeInsecureRequests: null
} }
} }
......
module.exports = ({ env }) => ({ module.exports = ({ env }) => ({
// ... // ...
// Reference: https://github.com/strapi/strapi/tree/main/packages/providers/email-nodemailer // Reference: https://github.com/strapi/strapi/tree/main/packages/providers/email-nodemailer
email: { // email: {
config: { // config: {
provider: "nodemailer", // provider: "nodemailer",
providerOptions: { // providerOptions: {
host: env("SMTP_HOST", "smtp.example.com"), // host: env("SMTP_HOST", "smtp.example.com"),
port: env("SMTP_PORT", 587), // port: env("SMTP_PORT", 587),
auth: { // auth: {
user: env("SMTP_USERNAME"), // user: env("SMTP_USERNAME"),
pass: env("SMTP_PASSWORD"), // pass: env("SMTP_PASSWORD"),
}, // },
// ... any custom nodemailer options // // ... any custom nodemailer options
}, // },
settings: { // settings: {
defaultFrom: "from@example.com", // defaultFrom: "from@example.com",
// defaultReplyTo: "hello@example.com" // // defaultReplyTo: "hello@example.com"
}, // },
}, // },
}, // },
// ... // ...
// ... // ...
// Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3 // Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3
upload: { // upload: {
config: { // config: {
provider: "aws-s3", // provider: "aws-s3",
providerOptions: { // providerOptions: {
accessKeyId: env("AWS_ACCESS_KEY_ID"), // accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_ACCESS_SECRET"), // secretAccessKey: env("AWS_ACCESS_SECRET"),
region: env("AWS_REGION"), // region: env("AWS_REGION"),
params: { // params: {
Bucket: env("AWS_BUCKET"), // Bucket: env("AWS_BUCKET"),
}, // },
}, // },
actionOptions: { // actionOptions: {
upload: {}, // upload: {},
uploadStream: {}, // uploadStream: {},
delete: {}, // delete: {},
}, // },
}, // },
}, // },
// ... // ...
}); });
{ {
"name": "offers-backend", "name": "ucc-backend",
"version": "0.1.0", "version": "0.1.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "offers-backend", "name": "ucc-backend",
"version": "0.1.0", "version": "0.1.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
{ {
"name": "offers-backend", "name": "ucc-backend",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0",
"description": "A Strapi application", "description": "A Strapi application",
......
...@@ -18,10 +18,10 @@ const config = { ...@@ -18,10 +18,10 @@ const config = {
notifications: { releases: false }, notifications: { releases: false },
translations: { translations: {
en: { en: {
"app.components.LeftMenu.navbrand.title": "Offers", "app.components.LeftMenu.navbrand.title": "UCC",
"app.components.LeftMenu.navbrand.title": "Offers", "app.components.LeftMenu.navbrand.title": "UCC",
"app.components.LeftMenu.navbrand.subtitle": "", "app.components.LeftMenu.navbrand.subtitle": "",
"Auth.form.welcome.title": "Welcome to Offers", "Auth.form.welcome.title": "Welcome to UCC",
"Auth.form.welcome.subtitle": "Log in to your App" "Auth.form.welcome.subtitle": "Log in to your App"
} }
}, },
......

11.8 KB | W: | H:

3.6 KB | W: | H:

src/admin/extensions/logo.png
src/admin/extensions/logo.png
src/admin/extensions/logo.png
src/admin/extensions/logo.png
  • 2-up
  • Swipe
  • Onion skin
No preview for this file type

11.8 KB | W: | H:

3.6 KB | W: | H:

src/extensions/logo.png
src/extensions/logo.png
src/extensions/logo.png
src/extensions/logo.png
  • 2-up
  • Swipe
  • Onion skin
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!