You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start up your local server with `yarn serve-dev` (instead of `yarn serve`)
130
+
```bash
131
+
# Run this in open-tacos project
132
+
yarn serve-dev
133
+
```
134
+
135
+
This allows the current user to run any `Query` or `Mutation` (irrespective of the current user’s UUID)
136
+
137
+
(How it works: `auth/middleware.ts` and `auth/permissions.ts` are conditionally swapped out on server initialization (`server.ts`), based on whether the env var `LOCAL_DEV_BYPASS_AUTH` is set)
138
+
127
139
- Full stack development
128
140
129
141
Connect your [frontend](https://github.com/OpenBeta/open-tacos) dev env to this local server
0 commit comments