Skip to content

Commit ec47ca7

Browse files
Added basic t3 app
0 parents  commit ec47ca7

19 files changed

+3228
-0
lines changed

.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Since the ".env" file is gitignored, you can use the ".env.example" file to
2+
# build a new ".env" file when you clone the repo. Keep this file up-to-date
3+
# when you add new variables to `.env`.
4+
5+
# This file will be committed to version control, so make sure not to have any
6+
# secrets in it. If you are cloning this repo, create a copy of this file named
7+
# ".env" and populate it with your secrets.
8+
9+
# When adding additional environment variables, the schema in "/src/env.mjs"
10+
# should be updated accordingly.
11+
12+
# Example:
13+
# SERVERVAR="foo"
14+
# NEXT_PUBLIC_CLIENTVAR="bar"

.eslintrc.cjs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// eslint-disable-next-line @typescript-eslint/no-var-requires
2+
const path = require("path");
3+
4+
/** @type {import("eslint").Linter.Config} */
5+
const config = {
6+
overrides: [
7+
{
8+
extends: [
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
10+
],
11+
files: ["*.ts", "*.tsx"],
12+
parserOptions: {
13+
project: path.join(__dirname, "tsconfig.json"),
14+
},
15+
},
16+
],
17+
parser: "@typescript-eslint/parser",
18+
parserOptions: {
19+
project: path.join(__dirname, "tsconfig.json"),
20+
},
21+
plugins: ["@typescript-eslint"],
22+
extends: ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
23+
rules: {
24+
"@typescript-eslint/consistent-type-imports": [
25+
"warn",
26+
{
27+
prefer: "type-imports",
28+
fixStyle: "inline-type-imports",
29+
},
30+
],
31+
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
32+
"@typescript-eslint/no-misused-promises": [
33+
2,
34+
{
35+
checksVoidReturn: { attributes: false },
36+
},
37+
],
38+
},
39+
};
40+
41+
module.exports = config;

.gitignore

Lines changed: 42 additions & 0 deletions
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

.idea/.gitignore

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 28 additions & 0 deletions
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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import "./src/env.mjs";
2+
3+
/** @type {import("next").NextConfig} */
4+
const config = {
5+
experimental: { serverActions: true },
6+
};
7+
export default config;

package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "Convex-Chat-App",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"build": "next build",
7+
"dev": "next dev",
8+
"lint": "next lint",
9+
"start": "next start"
10+
},
11+
"dependencies": {
12+
"@t3-oss/env-nextjs": "^0.3.1",
13+
"next": "^13.4.2",
14+
"react": "18.2.0",
15+
"react-dom": "18.2.0",
16+
"zod": "^3.21.4"
17+
},
18+
"devDependencies": {
19+
"@types/eslint": "^8.37.0",
20+
"@types/node": "^18.16.0",
21+
"@types/prettier": "^2.7.2",
22+
"@types/react": "^18.2.6",
23+
"@types/react-dom": "^18.2.4",
24+
"@typescript-eslint/eslint-plugin": "^5.59.6",
25+
"@typescript-eslint/parser": "^5.59.6",
26+
"autoprefixer": "^10.4.14",
27+
"eslint": "^8.40.0",
28+
"eslint-config-next": "^13.4.2",
29+
"postcss": "^8.4.21",
30+
"prettier": "^2.8.8",
31+
"prettier-plugin-tailwindcss": "^0.2.8",
32+
"tailwind-merge": "^1.12.0",
33+
"tailwindcss": "^3.3.0",
34+
"typescript": "^5.0.4"
35+
},
36+
"ct3aMetadata": {
37+
"initVersion": "7.13.2-beta.ca0b017"
38+
}
39+
}

0 commit comments

Comments
 (0)