Skip to content

Commit 13485b0

Browse files
committed
initial commit
0 parents  commit 13485b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+13120
-0
lines changed

.env.example

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DATABASE_URL="file:./db.sqlite"
2+
NEXTAUTH_SECRET="abc123"
3+
NEXTAUTH_URL="http://localhost:3000"

.eslintrc.cjs

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/** @type {import("eslint").Linter.Config} */
2+
const config = {
3+
parser: "@typescript-eslint/parser",
4+
parserOptions: {
5+
project: true,
6+
},
7+
plugins: ["@typescript-eslint"],
8+
extends: [
9+
"next/core-web-vitals",
10+
"plugin:@typescript-eslint/recommended-type-checked",
11+
"plugin:@typescript-eslint/stylistic-type-checked",
12+
],
13+
rules: {
14+
// These opinionated rules are enabled in stylistic-type-checked above.
15+
// Feel free to reconfigure them to your own preference.
16+
"@typescript-eslint/array-type": "off",
17+
"@typescript-eslint/consistent-type-definitions": "off",
18+
19+
"@typescript-eslint/consistent-type-imports": [
20+
"warn",
21+
{
22+
prefer: "type-imports",
23+
fixStyle: "inline-type-imports",
24+
},
25+
],
26+
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
27+
"@typescript-eslint/no-misused-promises": [
28+
2,
29+
{
30+
checksVoidReturn: { attributes: false },
31+
},
32+
],
33+
},
34+
};
35+
36+
module.exports = config;

.gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# database
12+
/prisma/db.sqlite
13+
/prisma/db.sqlite-journal
14+
15+
# next.js
16+
/.next/
17+
/out/
18+
next-env.d.ts
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# local env files
34+
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
35+
.env
36+
.env*.local
37+
38+
# vercel
39+
.vercel
40+
41+
# typescript
42+
*.tsbuildinfo

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Create T3 App
2+
3+
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
4+
5+
## What's next? How do I make an app with this?
6+
7+
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
8+
9+
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our [Discord](https://t3.gg/discord) and ask for help.
10+
11+
- [Next.js](https://nextjs.org)
12+
- [NextAuth.js](https://next-auth.js.org)
13+
- [Prisma](https://prisma.io)
14+
- [Tailwind CSS](https://tailwindcss.com)
15+
- [tRPC](https://trpc.io)
16+
17+
## Learn More
18+
19+
To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:
20+
21+
- [Documentation](https://create.t3.gg/)
22+
- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials
23+
24+
You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!
25+
26+
## How do I deploy this?
27+
28+
Follow our deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.

next.config.mjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
3+
* for Docker builds.
4+
*/
5+
await import("./src/env.mjs");
6+
7+
/** @type {import("next").NextConfig} */
8+
const config = {
9+
experimental: {
10+
serverComponentsExternalPackages: ["@zenstackhq/runtime"],
11+
},
12+
};
13+
14+
export default config;

0 commit comments

Comments
 (0)