-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec9c00e
commit 4b6e635
Showing
10 changed files
with
867 additions
and
1,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
# ENV | ||
*.env | ||
!example.env | ||
|
||
# Typescript | ||
dist/ | ||
|
||
# NodeJS | ||
node_modules/ | ||
package-lock.json | ||
|
||
#IntelliJ | ||
.idea/ | ||
|
||
# Prisma | ||
prisma/* | ||
!prisma/schema.prisma | ||
|
||
yarn-error.log | ||
# ENV | ||
*.env | ||
!example.env | ||
|
||
# Typescript | ||
dist/ | ||
|
||
# NodeJS | ||
node_modules/ | ||
package-lock.json | ||
|
||
#IntelliJ | ||
.idea/ | ||
|
||
# Prisma | ||
prisma/* | ||
!prisma/schema.prisma | ||
|
||
yarn-error.log | ||
|
||
src/constants/* | ||
!src/constants/Colors.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
useTabs = true | ||
singleQuote = true | ||
jsxSingleQuote = true | ||
jsxBracketSameLine = true | ||
trailingComma = "none" | ||
semi = true | ||
useTabs = true | ||
singleQuote = true | ||
jsxSingleQuote = true | ||
jsxBracketSameLine = true | ||
trailingComma = "none" | ||
semi = true | ||
printWidth = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM node:18.7.0 | ||
|
||
# Run program in production | ||
ENV NODE_ENV=production | ||
|
||
# Set working directory and add source files | ||
WORKDIR /app | ||
COPY . . | ||
|
||
# Install dependencies, then run the program | ||
RUN yarn | ||
ENTRYPOINT [ "yarn", "start" ] | ||
FROM node:18.7.0 | ||
|
||
# Run program in production | ||
ENV NODE_ENV=production | ||
|
||
# Set working directory and add source files | ||
WORKDIR /app | ||
COPY . . | ||
|
||
# Install dependencies, then run the program | ||
RUN yarn | ||
ENTRYPOINT [ "yarn", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
TOKEN= | ||
TOKEN= | ||
LOGS_CHANNEL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
// This is your Prisma schema file, | ||
// learn more about it in the docs: https://pris.ly/d/prisma-schema | ||
|
||
generator client { | ||
provider = "prisma-client-js" | ||
} | ||
|
||
datasource db { | ||
// https://www.prisma.io/docs/concepts/components/prisma-schema/data-sources | ||
// If using docker, this requires a volume to be created in order to prevent data loss. | ||
provider = "postgresql" | ||
url = env("DATABASE_URL") | ||
} | ||
|
||
model Tickets { | ||
id String @id | ||
createdAt DateTime @default(now()) | ||
createdBy String | ||
type String | ||
// This is your Prisma schema file, | ||
// learn more about it in the docs: https://pris.ly/d/prisma-schema | ||
|
||
generator client { | ||
provider = "prisma-client-js" | ||
} | ||
|
||
datasource db { | ||
// https://www.prisma.io/docs/concepts/components/prisma-schema/data-sources | ||
// If using docker, this requires a volume to be created in order to prevent data loss. | ||
provider = "postgresql" | ||
url = env("DATABASE_URL") | ||
} | ||
|
||
model Tickets { | ||
id String @id | ||
createdAt DateTime @default(now()) | ||
createdBy String | ||
type String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Oops, something went wrong.