Skip to content

Commit 89cae55

Browse files
committed
more boilerplate
1 parent 9850d64 commit 89cae55

20 files changed

+194
-98
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ yarn-error.log*
4040

4141
# typescript
4242
*.tsbuildinfo
43+
44+
dbschema/edgeql-js

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"semi": false,
3+
"printWidth": 60
4+
}

.vscode/settings.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"files.exclude": {
3+
"**/node_modules/": true,
4+
".next": true,
5+
".vercel": true,
6+
"next-env.d.ts": true,
7+
"**/migrations/": true,
8+
"**/edgeql-js/": true
9+
},
10+
"files.associations": {
11+
"*.css": "tailwindcss"
12+
}
13+
}

.vscode/snippets.code-snippets

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"console.log": {
3+
"prefix": "csl",
4+
"body": "console.log(\"${1:here}\")"
5+
},
6+
"console.error": {
7+
"prefix": "cse",
8+
"body": "console.error(${1:e})"
9+
}
10+
}

README.md

+6-25
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
1-
# Create T3 App
1+
# ABRAGO DB
22

3-
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
3+
## Services and Tech
44

5-
## What's next? How do I make an app with this?
5+
- [EdgeDB](https://www.edgedb.com/)
6+
- [Clerk Auth](https://clerk.com/)
67

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+
## Dev
89

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-
- [Drizzle](https://orm.drizzle.team)
15-
- [Tailwind CSS](https://tailwindcss.com)
16-
- [tRPC](https://trpc.io)
17-
18-
## Learn More
19-
20-
To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:
21-
22-
- [Documentation](https://create.t3.gg/)
23-
- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials
24-
25-
You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!
26-
27-
## How do I deploy this?
28-
29-
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.
10+
### EdgeDB

dbschema/default.esdl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module default {
2+
type Player {
3+
required username: str;
4+
required email: str;
5+
}
6+
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CREATE MIGRATION m1dzvpfsbbcaw26peedtwirosojfomnofqpwavhkxnprsmdqn6mquq
2+
ONTO initial
3+
{
4+
CREATE TYPE default::Player {
5+
CREATE REQUIRED PROPERTY email: std::str;
6+
CREATE REQUIRED PROPERTY username: std::str;
7+
};
8+
};

edgedb.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[edgedb]
2+
server-version = "5.3"

next.config.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
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.js");
1+
await import("./src/env.js")
62

73
/** @type {import("next").NextConfig} */
8-
const config = {};
4+
const config = {}
95

10-
export default config;
6+
export default config

package.json

+5-7
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@
55
"type": "module",
66
"scripts": {
77
"build": "next build",
8-
"dev": "next dev",
8+
"dev": "next dev --turbo",
99
"lint": "next lint",
1010
"start": "next start"
1111
},
1212
"dependencies": {
1313
"@t3-oss/env-nextjs": "^0.10.1",
14+
"edgedb": "^1.5.5",
1415
"next": "^14.2.1",
1516
"react": "18.2.0",
1617
"react-dom": "18.2.0",
1718
"zod": "^3.23.3"
1819
},
1920
"devDependencies": {
21+
"@edgedb/generate": "^0.5.3",
2022
"@types/eslint": "^8.56.2",
2123
"@types/node": "^20.11.20",
2224
"@types/react": "^18.2.57",
@@ -30,9 +32,5 @@
3032
"prettier-plugin-tailwindcss": "^0.5.11",
3133
"tailwindcss": "^3.4.1",
3234
"typescript": "^5.4.2"
33-
},
34-
"ct3aMetadata": {
35-
"initVersion": "7.32.0"
36-
},
37-
"packageManager": "pnpm@9.0.6"
38-
}
35+
}
36+
}

pnpm-lock.yaml

+58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ const config = {
22
plugins: {
33
tailwindcss: {},
44
},
5-
};
5+
}
66

7-
module.exports = config;
7+
module.exports = config

prettier.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions} */
22
const config = {
33
plugins: ["prettier-plugin-tailwindcss"],
4-
};
4+
}
55

6-
export default config;
6+
export default config

public/favicon.ico

-23 KB
Binary file not shown.

src/app/layout.tsx

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
import "@/styles/globals.css";
1+
import "@/styles/globals.css"
22

3-
import { Inter } from "next/font/google";
3+
import { Inter } from "next/font/google"
44

55
const inter = Inter({
66
subsets: ["latin"],
77
variable: "--font-sans",
8-
});
8+
})
99

1010
export const metadata = {
11-
title: "Create T3 App",
12-
description: "Generated by create-t3-app",
13-
icons: [{ rel: "icon", url: "/favicon.ico" }],
14-
};
11+
title: "ABRAGO DB",
12+
description: "ABRAGO DB",
13+
}
1514

1615
export default function RootLayout({
1716
children,
1817
}: {
19-
children: React.ReactNode;
18+
children: React.ReactNode
2019
}) {
2120
return (
2221
<html lang="en">
23-
<body className={`font-sans ${inter.variable}`}>{children}</body>
22+
<body className={`font-sans ${inter.variable}`}>
23+
{children}
24+
</body>
2425
</html>
25-
);
26+
)
2627
}

0 commit comments

Comments
 (0)