Skip to content

Commit 9484a53

Browse files
committed
init
1 parent f3fe5ab commit 9484a53

File tree

109 files changed

+1986
-9803
lines changed

Some content is hidden

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

109 files changed

+1986
-9803
lines changed

README.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,13 @@
1-
# React Admin & Prisma (& Next.js)
1+
# Prisma Tools
22

3-
Check the example apps to see common usages or use them as a boilerplate.
3+
Opinionated tools to work with Prisma and NextJS
44

55
# Packages
66

7-
- [ra-data-simple-prisma](./packages/ra-data-simple-prisma/)
8-
- [next-auth-prisma-adapter](./packages/next-auth-prisma-adapter/)
7+
- [types-generator](./packages/types-generator/)
98

109
# Examples
1110

12-
[example admin app](./apps/admin/) Debug, test, and develop the packages, but also use it as the admin/CMS for the website!
13-
[example website](./apps/website/) A nextjs/mui boilerplate to show the data (very much under construction yet)
14-
1511
### Development
1612

17-
Use the example app to test the changes.
18-
19-
In root folder run
20-
21-
```
22-
pnpm dev
23-
```
24-
25-
this will spin both the apps and package in dev mode!
26-
2713
#### Common issues
28-
29-
- If there is an error in the backend regarding prisma not finding a table, run `npx prisma generate`
30-
31-
### TODOs
32-
33-
- [ ] Add all combos in README
34-
- [ ] create an amazing website showing all the data

apps/admin/.env.sample

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/admin/.eslintrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

apps/admin/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

apps/admin/app/ReactAdmin.tsx

Lines changed: 0 additions & 70 deletions
This file was deleted.

apps/admin/app/api/[resource]/route.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

apps/admin/app/api/apiHandler.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

apps/admin/app/api/auth/[...nextauth]/authOptions.ts

Lines changed: 0 additions & 108 deletions
This file was deleted.

apps/admin/app/api/auth/[...nextauth]/route.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/admin/app/api/category/route.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)