This project consists of two repositories:
git clone --depth 1 https://github.com/babakfp/angle-berry-client.git
.git clone --depth 1 https://github.com/babakfp/angle-berry-server.git
.Open the projects in two separate vsCode instances, and:
angle-berry-server
directory, open a terminal and run the following command to start the server: pnpm serve
.http://127.0.0.1:8090
.angle-berry-server
directory, duplicate the .env.example
file located in the root of your project and rename the duplicate file to .env
.PUBLIC_PB_URL
in the .env
file with the copied domain address.pnpm i
and pnpm dev
.angle-berry-client
auth credentialsThere are two users that you can switch between by the user menu:
user
useruser
admin
adminadmin
angle-berry-server
admin credentialsUse this to log in to the PocketBase dashboard:
[email protected]
[email protected]
dev
: This runs the project in development mode.build
: This builds the project. You don't need to run this.preview
: This previews the built project.prepare
: This isn't important. You don't need to run this.format
: This makes the code look pretty.typegen
: This generates PocketBase TS types. Use this to update the types when the PocketBase schema changes.