This commit is contained in:
+11
-11
@@ -1,5 +1,5 @@
|
||||
# bknd starter: Solid Start
|
||||
A minimal example of a Solid Start project with bknd integration.
|
||||
# userbase starter: Solid Start
|
||||
A minimal example of a Solid Start project with userbase integration.
|
||||
|
||||
## Project Structure
|
||||
|
||||
@@ -7,13 +7,13 @@ Inside of your Solid Start project, you'll see the following folders and files:
|
||||
|
||||
```text
|
||||
.
|
||||
├── bknd.config.ts
|
||||
├── userbase.config.ts
|
||||
├── bun.lock
|
||||
├── package.json
|
||||
├── public
|
||||
│ ├── admin # generated by bknd and contains the admin UI
|
||||
│ ├── bknd.ico
|
||||
│ ├── bknd.svg
|
||||
│ ├── admin # generated by userbase and contains the admin UI
|
||||
│ ├── userbase.ico
|
||||
│ ├── userbase.svg
|
||||
│ ├── file.svg
|
||||
│ ├── globe.svg
|
||||
│ ├── solid.svg
|
||||
@@ -29,9 +29,9 @@ Inside of your Solid Start project, you'll see the following folders and files:
|
||||
│ ├── entry-server.tsx
|
||||
│ ├── global.d.ts
|
||||
│ ├── lib
|
||||
│ │ └── bknd.ts # initializes bknd instance
|
||||
│ │ └── userbase.ts # initializes userbase instance
|
||||
│ ├── middleware
|
||||
│ │ └── index.ts # mounts bknd middleware
|
||||
│ │ └── index.ts # mounts userbase middleware
|
||||
│ └── routes
|
||||
│ ├── [...404].tsx
|
||||
│ ├── index.tsx
|
||||
@@ -40,8 +40,8 @@ Inside of your Solid Start project, you'll see the following folders and files:
|
||||
└── vite.config.ts
|
||||
```
|
||||
|
||||
Here is a quick overview about how to adjust the behavior of `bknd`:
|
||||
* Initialization of the `bknd` config with helper functions are located at `src/lib/bknd.ts`
|
||||
Here is a quick overview about how to adjust the behavior of `userbase`:
|
||||
* Initialization of the `userbase` config with helper functions are located at `src/lib/userbase.ts`
|
||||
* Admin UI is rendered using `src/middleware/index.ts`
|
||||
|
||||
## Commands
|
||||
@@ -56,4 +56,4 @@ All commands are run from the root of the project, from a terminal:
|
||||
|
||||
## Want to learn more?
|
||||
|
||||
Feel free to check [our documentation](https://docs.bknd.io/integration/solid-start) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
|
||||
Feel free to check [our documentation](https://docs.userbase.io/integration/solid-start) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
|
||||
Reference in New Issue
Block a user