-
Notifications
You must be signed in to change notification settings - Fork 0
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
be4ecd1
commit db3e2c7
Showing
6 changed files
with
96 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Discord as Authentication Provider | ||
|
||
To configure discord as authentication provider configure these environment variables in `.env`. | ||
|
||
```.env filename=".env" copy | ||
DISCORD_CLIENT_ID= | ||
DISCORD_CLIENT_SECRET= | ||
``` | ||
|
||
Click [here](https://discord.com/developers/docs/topics/oauth2) to know more about discord oauth2. |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# GitHub as Authentication Provider | ||
|
||
To configure Email as authentication provider configure these environment variables in `.env`. | ||
|
||
```.env filename=".env" copy | ||
SMTP_HOST= | ||
SMTP_PORT= | ||
SMTP_USER= | ||
SMTP_PASSWORD= | ||
SMTP_SENDER= | ||
RESEND_API= | ||
``` | ||
|
||
It is recommended to use Resend as SMTP provider. | ||
Click [here](https://resend.com/docs/introduction) to know more about Resend. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# GitHub as Authentication Provider | ||
|
||
To configure GitHub as authentication provider configure these environment variables in `.env`. | ||
|
||
```.env filename=".env" copy | ||
GITHUB_CLIENT_ID= | ||
GITHUB_CLIENT_SECRET= | ||
``` | ||
|
||
Click [here](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps) to know more about GitHub oauth2. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Discord as Authentication Provider | ||
|
||
To configure discord as authentication provider configure these environment variables in `.env`. | ||
|
||
```.env filename=".env" copy | ||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
``` | ||
|
||
Click [here](https://developers.google.com/identity/protocols/oauth2) to know more about discord oauth2. |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# About TypeScript | ||
|
||
EntApex is purely built with TypeScript and packages that support TypeScript. TypeScript is JavaScript with syntax for types. TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale. | ||
|
||
## TypeScript Document | ||
|
||
Click [here](https://www.typescriptlang.org/docs) to read more. | ||
|
||
## TypeScript Config File | ||
|
||
EntApex uses target as ESNext becuase Drizzle ORM supports it. | ||
|
||
```json filename="tsconfig.json" copy | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noEmit": true, | ||
"esModuleInterop": true, | ||
"module": "esnext", | ||
"moduleResolution": "bundler", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"jsx": "preserve", | ||
"incremental": true, | ||
"plugins": [ | ||
{ | ||
"name": "next" | ||
} | ||
], | ||
"paths": { | ||
"@/*": ["./src/*"] | ||
} | ||
}, | ||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# About Zod | ||
|
||
Zod is a TypeScript-first schema declaration and validation library. I'm using the term "schema" to broadly refer to any data type, from a simple string to a complex nested object. | ||
|
||
Zod is designed to be as developer-friendly as possible. The goal is to eliminate duplicative type declarations. With Zod, you declare a validator once and Zod will automatically infer the static TypeScript type. It's easy to compose simpler types into complex data structures. | ||
|
||
## Zod Documentation | ||
|
||
Click [here](https://zod.dev/?id=table-of-contents) to read more. |
db3e2c7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
entapex-app-site – ./www
entapex-app-site-git-main-shreyashrangrej.vercel.app
entapex-app-site-shreyashrangrej.vercel.app
app.entapex.com
entapex-app-site.vercel.app