first commit

This commit is contained in:
Kola92
2023-04-25 09:17:32 +01:00
commit c36c04def5
274 changed files with 55044 additions and 0 deletions

154
src/app/data/company.ts Normal file
View File

@@ -0,0 +1,154 @@
import { CompanyModel } from "../models/company";
export const company: CompanyModel[] = [
{
id: 1,
name: "Stark Industries",
username: "starkindustries",
email: "info@starkindustries.com",
phone: "09055784625",
image:
"https://webtoolfeed.files.wordpress.com/2012/05/the-union-repoman.jpg",
description:
"A multinational technology company specializing in weapons manufacturing, led by Tony Stark.",
address: "200 Park Ave, New York, NY 10166",
city: "New York City, NY ",
stagingUrl: "stage.starkindustries.com",
productionUrl: "starkindustries.com",
},
{
id: 2,
name: "Wayne Enterprises",
username: "wayneenterprises",
email: "info@wayneenterprises.com",
phone: "0812012234",
image:
"https://www.thesun.co.uk/wp-content/uploads/2019/07/NINTCHDBPICT000491000000.jpg?strip=all&w=960",
description:
"A multinational conglomerate holding company headquartered in Gotham City, led by Bruce Wayne.",
address: "10 Wayne Tower, Gotham City, NJ 07102",
city: "Gotham City, NJ ",
stagingUrl: "stage.wayneenterprises.com",
productionUrl: "wayneenterprises.com",
},
{
id: 3,
name: "LexCorp",
username: "lexcorp",
email: "info@lexcorp.com",
phone: "08174361092",
image:
"https://www.shutterstock.com/image-vector/young-smiling-woman-mia-avatar-600w-2127358541.jpg",
description:
"LexCorp is a multinational conglomerate that operates in various industries, including technology, finance, and media. Founded by billionaire businessman and philanthropist Lex Luthor.",
address: "LexCorp Tower, Metropolis, NY 10001",
city: "Metropolis, NY",
stagingUrl: "stage.lexcorp.com",
productionUrl: "lexcorp.com",
},
{
id: 4,
name: "Sahara Security & Investigation Ltd.",
username: "saharasecurity_ng",
email: "info@saharasecurity.ng",
phone: "08120122347",
image:
"https://www.shutterstock.com/image-vector/young-smiling-man-adam-avatar-600w-2107967969.jpg",
description:
"Sahara Security & Investigation is a leading provider of security and investigation services for businesses and individuals across Nigeria. With a team of highly trained professionals and state-of-the-art equipment, we are committed to protecting our clients' assets and interests.",
address: "5, Bode Thomas Street, Surulere, Lagos State",
city: "Lagos, Nigeria",
stagingUrl: "stage.saharasecurity.com",
productionUrl: "saharasecurity.ng",
},
{
id: 5,
name: "Umbrella Corporation",
username: "umbrellacorporation",
email: "info@umbrellacorp.com",
phone: "07073214806",
image:
"https://www.shutterstock.com/image-vector/young-smiling-man-adam-avatar-600w-2107967969.jpg",
description:
"Umbrella Corporation is a pharmaceutical company that specializes in bioweapons and bioengineering.",
address: "Umbrella Corporation, Raccoon City, NY 10001",
city: "Raccoon City, NY",
stagingUrl: "stage.umbrellacorp.com",
productionUrl: "umbrellacorp.com",
},
{
id: 6,
name: "Aperture Science",
username: "aperturescience",
email: "aperturescience@info.com",
phone: "08033567890",
image:
"https://www.shutterstock.com/image-vector/young-smiling-man-adam-avatar-600w-2107967969.jpg",
description:
"Aperture Science is a science and technology company that specializes in the development of advanced research facilities and the manufacturing of consumer products.",
address: "Aperture Science, New York City, NY 10001",
city: "New York City, NY",
stagingUrl: "stage.aperturescience.com",
productionUrl: "aperturescience.com",
},
{
id: 7,
name: "Stellar Airways Nigeria Ltd.",
username: "stellarairways_ng",
email: "info@stellarairways.ng",
phone: "07084849673",
image:
"https://www.shutterstock.com/image-vector/young-smiling-woman-mia-avatar-600w-2127358541.jpg",
description:
"Stellar Airways Nigeria is a premier airline that provides domestic and international travel services to individuals and businesses across Nigeria. With a focus on safety, comfort, and convenience, we are dedicated to providing exceptional travel experiences to our customers.",
address: "Murtala Muhammed International Airport, Ikeja, Lagos State",
city: "Lagos, Nigeria",
stagingUrl: "stage.stellarairways.com",
productionUrl: "stellarairways.ng",
},
{
id: 8,
name: "Deltacore Technologies Ltd.",
username: "deltacore_ng",
email: "info@deltacore.ng",
phone: "09022345109",
image:
"https://www.shutterstock.com/image-vector/young-smiling-woman-mia-avatar-600w-2127358541.jpg",
description:
"Deltacore Technologies is a leading provider of software and hardware solutions for businesses and individuals across Nigeria. With a focus on innovation and quality, we provide cutting-edge technology products and services to help our clients stay ahead of the competition.",
address: "23, Adeyemo Alakija Street, Victoria Island, Lagos State",
city: "Lagos, Nigeria",
stagingUrl: "stage.deltacore.com",
productionUrl: "deltacore.ng",
},
{
id: 9,
name: "Goldmine Oil & Gas Ltd.",
username: "goldmineoilgas_ng",
email: "info@goldmineoilgas.ng",
phone: "0911250021",
image:
"https://www.shutterstock.com/image-vector/young-smiling-man-adam-avatar-600w-2107967969.jpg",
description:
"Goldmine Oil & Gas is a leading exploration and production company that operates in the Nigerian oil and gas industry. With a focus on sustainability and innovation, we are committed to maximizing the potential of Nigeria's natural resources while minimizing our environmental impact.",
address: "14, Marina Road, Warri South, Delta State",
city: "Warri, Nigeria",
stagingUrl: "stage.goldmineoilgas.com",
productionUrl: "goldmineoilgas.ng",
},
{
id: 10,
name: "Cedarwood Construction & Engineering Ltd.",
username: "cedarwoodconstruction_ng",
email: "info@cedarwoodconstruction.ng",
phone: "0911250021",
image:
"https://thumbs.dreamstime.com/b/male-avatar-icon-flat-style-male-user-icon-cartoon-man-avatar-hipster-vector-stock-91462914.jpg",
description:
"Cedarwood Construction & Engineering is a leading construction company that provides innovative solutions for residential, commercial, and industrial projects across Nigeria. With a team of skilled professionals and state-of-the-art equipment, we are committed to delivering high-quality projects on time and within budget.",
address: "9, Adeniyi Jones Avenue, Ikeja, Lagos State",
city: "Lagos, Nigeria",
stagingUrl: "stage.cedarwoodconstruction.com",
productionUrl: "cedarwoodconstruction.ng",
},
];

View File

@@ -0,0 +1,124 @@
import { DatabaseInfoModel } from "../models/database-info";
export const databaseInfo: DatabaseInfoModel[] = [
{
id: 1,
serverId: 1,
companyId: 1,
databaseName: "database1",
databaseType: "MySQL",
bandwidthGB: 1,
username: "user123",
password: "password123",
host: "localhost",
port: 3306,
},
{
id: 2,
serverId: 2,
companyId: 2,
databaseName: "database2",
databaseType: "PostgreSQL",
bandwidthGB: 10,
username: "dbuser2",
password: "dbpassword2",
host: "db-host-1a3c.example.com",
port: 5432,
},
{
id: 3,
serverId: 3,
companyId: 3,
databaseName: "database3",
databaseType: "MongoDB",
bandwidthGB: 100,
username: "dbuser3",
password: "dbpassword3",
host: "db2-4f8d.example.org",
port: 27017,
},
{
id: 4,
serverId: 4,
companyId: 4,
databaseName: "database4",
databaseType: "SQLite",
bandwidthGB: 1000,
username: "dbuser4",
password: "dbpassword4",
host: "random-db-12a5.example.net",
port: 3306,
},
{
id: 5,
serverId: 5,
companyId: 5,
databaseName: "database5",
databaseType: "MySQL",
bandwidthGB: 2000,
username: "dbuser5",
password: "dbpassword5",
host: "host-9c5b.example.net",
port: 5432,
},
{
id: 6,
serverId: 6,
companyId: 6,
databaseName: "database6",
databaseType: "PostgreSQL",
bandwidthGB: 3000,
username: "dbuser6",
password: "dbpassword6",
host: "db-server-7e2f.example.com",
port: 27017,
},
{
id: 7,
serverId: 8,
companyId: 8,
databaseName: "database7",
databaseType: "MongoDB",
bandwidthGB: 4000,
username: "dbuser7",
password: "dbpassword7",
host: "mydb-1f4a.example.net",
port: 3306,
},
{
id: 8,
serverId: 7,
companyId: 7,
databaseName: "database8",
databaseType: "SQLite",
bandwidthGB: 5000,
username: "dbuser8",
password: "dbpassword8",
host: "db-1f4a.example.net",
port: 5432,
},
{
id: 9,
serverId: 9,
companyId: 9,
databaseName: "database9",
databaseType: "MySQL",
bandwidthGB: 400,
username: "dbuser9",
password: "dbpassword9",
host: "dbhost-5b9c.example.org",
port: 27017,
},
{
id: 10,
serverId: 10,
companyId: 10,
databaseName: "database10",
databaseType: "PostgreSQL",
bandwidthGB: 300,
username: "dbuser10",
password: "dbpassword10",
host: "randomdb-3e8d.example.com",
port: 3306,
},
];

View File

@@ -0,0 +1,124 @@
import { HostingInfoModel } from "../models/hosting-info";
export const hostingInfo: HostingInfoModel[] = [
{
id: 1,
companyId: 1,
provider: "Digital Ocean",
serverType: "VPS",
diskSpaceGB: 100,
bandwidthGB: 1000,
username: "user123",
password: "password123",
serverLocation: "United States",
expirationDate: new Date("2025-12-31"),
},
{
id: 2,
companyId: 2,
provider: "Bluehost",
serverType: "shared",
diskSpaceGB: 150,
bandwidthGB: 500,
username: "user456",
password: "password456",
serverLocation: "United States",
expirationDate: new Date("2024-02-31"),
},
{
id: 3,
companyId: 3,
provider: "SiteGround",
serverType: "dedicated",
diskSpaceGB: 500,
bandwidthGB: 5000,
username: "user789",
password: "password789",
serverLocation: "United Kingdom",
expirationDate: new Date("2023-03-31"),
},
{
id: 4,
companyId: 4,
provider: "HostGator",
serverType: "shared",
diskSpaceGB: 200,
bandwidthGB: 1000,
username: "user101",
password: "password101",
serverLocation: "Canada",
expirationDate: new Date("2022-04-31"),
},
{
id: 5,
companyId: 5,
provider: "DreamHost",
serverType: "shared",
diskSpaceGB: 50,
bandwidthGB: 500,
username: "user111",
password: "password111",
serverLocation: "United States",
expirationDate: new Date("2023-05-11"),
},
{
id: 6,
companyId: 6,
provider: "GoDaddy",
serverType: "VPS",
diskSpaceGB: 100,
bandwidthGB: 1000,
username: "user121",
password: "password121",
serverLocation: "United States",
expirationDate: new Date("2022-06-21"),
},
{
id: 7,
companyId: 7,
provider: "Hostinger",
serverType: "shared",
diskSpaceGB: 500,
bandwidthGB: 5000,
username: "user131",
password: "password131",
serverLocation: "Singapore",
expirationDate: new Date("2025-04-08"),
},
{
id: 8,
companyId: 8,
provider: "InMotion Hosting",
serverType: "dedicated",
diskSpaceGB: 2000,
bandwidthGB: 20000,
username: "user141",
password: "password141",
serverLocation: "United States",
expirationDate: new Date("2024-07-21"),
},
{
id: 9,
companyId: 9,
provider: "Namecheap",
serverType: "shared",
diskSpaceGB: 100,
bandwidthGB: 1000,
username: "user151",
password: "password151",
serverLocation: "Netherlands",
expirationDate: new Date("2023-10-01"),
},
{
id: 10,
companyId: 10,
provider: "A2 Hosting",
serverType: "VPS",
diskSpaceGB: 500,
bandwidthGB: 5000,
username: "user161",
password: "password161",
serverLocation: "United Kingdom",
expirationDate: new Date("2022-11-11"),
},
];

238
src/app/data/invoice.ts Normal file
View File

@@ -0,0 +1,238 @@
import { InvoiceModel } from "../models/invoice";
export const invoice: InvoiceModel[] = [
{
id: 1,
invoiceNumber: "INV-0001",
companyId: 2,
dateIssued: new Date("2023-03-15"),
dueDate: new Date("2023-03-30"),
status: "paid",
amount: "100000",
currency: "₦",
services: [
{
description: "Custom Website Development",
service: 1,
unitPrice: 100000,
total: 100000,
},
],
},
{
id: 2,
invoiceNumber: "INV-0002",
companyId: 3,
dateIssued: new Date("2023-03-20"),
dueDate: new Date("2023-04-10"),
status: "pending",
amount: "300000",
currency: "₦",
services: [
{
description: "Custom Mobile App Development",
service: 1,
unitPrice: 300000,
total: 300000,
},
],
},
{
id: 3,
invoiceNumber: "INV-0003",
companyId: 1,
dateIssued: new Date("2023-03-25"),
dueDate: new Date("2023-04-15"),
status: "pending",
amount: "200000",
currency: "₦",
services: [
{
description: "E-commerce Website Development",
service: 1,
unitPrice: 200000,
total: 200000,
},
],
},
{
id: 4,
invoiceNumber: "INV-0004",
companyId: 5,
dateIssued: new Date("2023-03-30"),
dueDate: new Date("2023-04-20"),
status: "paid",
amount: "500000",
currency: "₦",
services: [
{
description: "Website Redesign",
service: 1,
unitPrice: 500000,
total: 500000,
},
],
},
{
id: 5,
invoiceNumber: "INV-0005",
companyId: 6,
dateIssued: new Date("2023-04-05"),
dueDate: new Date("2023-04-25"),
status: "overdue",
amount: "250000",
currency: "₦",
services: [
{
description: "Website Maintenance",
service: 1,
unitPrice: 250000,
total: 250000,
},
],
},
{
id: 6,
invoiceNumber: "INV-0006",
companyId: 7,
dateIssued: new Date("2023-04-10"),
dueDate: new Date("2023-04-30"),
status: "paid",
amount: "100000",
currency: "₦",
services: [
{
description: "Website Hosting",
service: 1,
unitPrice: 100000,
total: 100000,
},
],
},
{
id: 7,
invoiceNumber: "INV-0007",
companyId: 4,
dateIssued: new Date("2023-04-15"),
dueDate: new Date("2023-05-05"),
status: "paid",
amount: "200000",
currency: "₦",
services: [
{
description: "Custom Software Development",
service: 1,
unitPrice: 200000,
total: 200000,
},
],
},
{
id: 8,
invoiceNumber: "INV-0008",
companyId: 8,
dateIssued: new Date("2023-04-15"),
dueDate: new Date("2023-05-05"),
status: "paid",
amount: "200000",
currency: "₦",
services: [
{
description: "Custom Software Development",
service: 1,
unitPrice: 200000,
total: 200000,
},
],
},
{
id: 9,
invoiceNumber: "INV-0009",
companyId: 9,
dateIssued: new Date("2023-04-20"),
dueDate: new Date("2023-05-10"),
status: "paid",
amount: "300000",
currency: "₦",
services: [
{
description: "Website Security Audit",
service: 1,
unitPrice: 300000,
total: 300000,
},
],
},
{
id: 10,
invoiceNumber: "INV-00010",
companyId: 10,
dateIssued: new Date("2023-04-20"),
dueDate: new Date("2023-05-10"),
status: "paid",
amount: "150000",
currency: "₦",
services: [
{
description: "Website Optimization",
service: 1,
unitPrice: 150000,
total: 150000,
},
],
},
{
id: 11,
invoiceNumber: "INV-00011",
companyId: 1,
dateIssued: new Date("2023-03-10"),
dueDate: new Date("2023-06-15"),
status: "paid",
amount: "100000",
currency: "₦",
services: [
{
description: "Website Hosting",
service: 1,
unitPrice: 100000,
total: 100000,
},
],
},
{
id: 12,
invoiceNumber: "INV-00012",
companyId: 1,
dateIssued: new Date("2023-05-05"),
dueDate: new Date("2024-07-15"),
status: "overdue",
amount: "250000",
currency: "₦",
services: [
{
description: "Website Maintenance",
service: 1,
unitPrice: 250000,
total: 250000,
},
],
},
{
id: 13,
invoiceNumber: "INV-00013",
companyId: 1,
dateIssued: new Date("2023-03-21"),
dueDate: new Date("2023-05-15"),
status: "pending",
amount: "70000",
currency: "₦",
services: [
{
description: "Website Security Audit",
service: 1,
unitPrice: 70000,
total: 70000,
},
],
},
];

View File

172
src/app/data/payment.ts Normal file
View File

@@ -0,0 +1,172 @@
import { PaymentModel } from "../models/payment";
export const payment: PaymentModel[] = [
{
id: 1,
invoiceId: 1,
companyId: 1,
invoiceNumber: "INV-001",
paymentNumber: "PAY-001",
paymentDate: new Date("2023-03-10"),
amount: "100000",
currency: "₦",
method: "bank transfer",
status: "pending",
},
{
id: 2,
invoiceId: 2,
companyId: 2,
invoiceNumber: "INV-002",
paymentNumber: "PAY-002",
paymentDate: new Date("2023-03-15"),
amount: "100000",
currency: "₦",
method: "credit card",
status: "completed",
},
{
id: 3,
invoiceId: 3,
companyId: 3,
invoiceNumber: "INV-003",
paymentNumber: "PAY-003",
paymentDate: new Date("2023-03-20"),
amount: "300000",
currency: "₦",
method: "bank transfer",
status: "completed",
},
{
id: 4,
invoiceId: 4,
companyId: 5,
invoiceNumber: "INV-004",
paymentNumber: "PAY-004",
paymentDate: new Date("2023-04-10"),
amount: "500000",
currency: "₦",
method: "cheque",
status: "failed",
},
{
id: 5,
invoiceId: 5,
companyId: 6,
invoiceNumber: "INV-005",
paymentNumber: "PAY-005",
paymentDate: new Date("2023-04-15"),
amount: "250000",
currency: "₦",
method: "bank transfer",
status: "completed",
},
{
id: 6,
invoiceId: 6,
companyId: 7,
invoiceNumber: "INV-006",
paymentNumber: "PAY-006",
paymentDate: new Date("2023-04-17"),
amount: "100000",
currency: "₦",
method: "credit card",
status: "pending",
},
{
id: 7,
invoiceId: 7,
companyId: 4,
invoiceNumber: "INV-007",
paymentNumber: "PAY-007",
paymentDate: new Date("2023-04-22"),
amount: "200000",
currency: "₦",
method: "cash",
status: "completed",
},
{
id: 8,
invoiceId: 8,
companyId: 8,
invoiceNumber: "INV-008",
paymentNumber: "PAY-008",
paymentDate: new Date("2023-04-25"),
amount: "200000",
currency: "₦",
method: "cash",
status: "completed",
},
{
id: 9,
invoiceId: 9,
companyId: 9,
invoiceNumber: "INV-009",
paymentNumber: "PAY-009",
paymentDate: new Date("2023-04-30"),
amount: "300000",
currency: "₦",
method: "cheque",
status: "failed",
},
{
id: 10,
invoiceId: 10,
companyId: 10,
invoiceNumber: "INV-010",
paymentNumber: "PAY-010",
paymentDate: new Date("2023-05-05"),
amount: "300000",
currency: "₦",
method: "bank transfer",
status: "pending",
},
{
id: 11,
invoiceId: 11,
companyId: 1,
invoiceNumber: "INV-011",
paymentNumber: "PAY-011",
paymentDate: new Date("2023-05-10"),
amount: "100000",
currency: "₦",
method: "credit card",
status: "completed",
},
{
id: 12,
invoiceId: 12,
companyId: 1,
invoiceNumber: "INV-012",
paymentNumber: "PAY-012",
paymentDate: new Date("2023-05-15"),
amount: "100000",
currency: "₦",
method: "bank transfer",
status: "pending",
},
{
id: 13,
invoiceId: 13,
companyId: 1,
invoiceNumber: "INV-013",
paymentNumber: "PAY-013",
paymentDate: new Date("2023-05-20"),
amount: "300000",
currency: "₦",
method: "cheque",
status: "failed",
},
{
id: 14,
invoiceId: 14,
companyId: 1,
invoiceNumber: "INV-014",
paymentNumber: "PAY-014",
paymentDate: new Date("2023-05-25"),
amount: "500000",
currency: "₦",
method: "cash",
status: "completed",
},
];

144
src/app/data/server-info.ts Normal file
View File

@@ -0,0 +1,144 @@
import { ServerInfoModel } from "../models/server-info";
export const serverInfo: ServerInfoModel[] = [
{
id: 1,
companyId: 1,
databaseId: 1,
provider: "DigitalOcean",
serverType: "shared",
operatingSystem: "Ubuntu 20.04 LTS",
cpu: "Intel Xeon 2.3 GHz",
storageGB: 100,
ramGB: 4,
bandwidthGB: 4,
monthlyCostUSD: 10,
location: "New York, USA",
},
{
id: 2,
companyId: 2,
databaseId: 2,
provider: "Amazon Web Services",
serverType: "VPS",
operatingSystem: "Amazon Linux 2",
cpu: "Intel Xeon 2.5 GHz",
storageGB: 500,
ramGB: 16,
bandwidthGB: 10,
monthlyCostUSD: 80,
location: "North Virginia, USA",
},
{
id: 3,
companyId: 3,
databaseId: 4,
provider: "Google Cloud Platform",
serverType: "dedicated",
operatingSystem: "CentOS 7",
cpu: "Intel Xeon 2.4 GHz",
storageGB: 200,
ramGB: 8,
bandwidthGB: 5,
monthlyCostUSD: 30,
location: "Oregon, USA",
},
{
id: 4,
companyId: 4,
databaseId: 3,
provider: "Vultr",
serverType: "shared",
operatingSystem: "Ubuntu 18.04 LTS",
cpu: "AMD Ryzen 2.2 GHz",
storageGB: 250,
ramGB: 12,
bandwidthGB: 8,
monthlyCostUSD: 50,
location: "Singapore",
},
{
id: 5,
companyId: 5,
databaseId: 8,
provider: "Linode",
serverType: "VPS",
operatingSystem: "Debian 10",
cpu: "AMD EPYC 2.4 GHz",
storageGB: 300,
ramGB: 16,
bandwidthGB: 6,
monthlyCostUSD: 40,
location: "Dallas, USA",
},
{
id: 6,
companyId: 6,
databaseId: 6,
provider: "Hostinger",
serverType: "shared",
operatingSystem: "CentOS 8",
cpu: "Intel Xeon 2.0 GHz",
storageGB: 150,
ramGB: 6,
bandwidthGB: 3,
monthlyCostUSD: 15,
location: "Lithuania",
},
{
id: 7,
companyId: 7,
databaseId: 7,
provider: "Hetzner",
serverType: "dedicated",
operatingSystem: "Ubuntu 16.04 LTS",
cpu: "Intel Xeon 2.2 GHz",
storageGB: 400,
ramGB: 12,
bandwidthGB: 10,
monthlyCostUSD: 60,
location: "Falkenstein, Germany",
},
{
id: 8,
companyId: 8,
databaseId: 5,
provider: "OVH",
serverType: "shared",
operatingSystem: "Ubuntu 20.04 LTS",
cpu: "Intel Xeon 2.3 GHz",
storageGB: 100,
ramGB: 4,
bandwidthGB: 4,
monthlyCostUSD: 10,
location: "France",
},
{
id: 9,
companyId: 9,
databaseId: 9,
provider: "AWS",
serverType: "VPS",
operatingSystem: "Amazon Linux 2",
cpu: "2 vCPUs",
storageGB: 40,
ramGB: 4,
bandwidthGB: 10,
monthlyCostUSD: 50,
location: "Sydney, Australia",
},
{
id: 10,
companyId: 10,
databaseId: 10,
provider: "AWS",
serverType: "dedicated",
operatingSystem: "Red Hat Enterprise Linux 8",
cpu: "4 vCPUs",
storageGB: 100,
ramGB: 8,
bandwidthGB: 20,
monthlyCostUSD: 200,
location: "Mumbai, India",
},
];