-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from osoc24/20-loama-development
Add loama development
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: Development | ||
--- | ||
|
||
# Development | ||
|
||
- [:test_tube: Code repository](https://github.com/osoc24/loama/tree/root/loama) | ||
|
||
Initially, the idea was to use Nuxt, as it has loads of functionality built in, together with the [@inrupt/solid-client-authn-browser](https://www.npmjs.com/package/@inrupt/solid-client-authn-browser) package. But, as this package has hardcoded usage of the `window` variable, it quickly became apparent that this library had to be used client-side. Thus, the switch from Nuxt to Vue was made. | ||
|
||
Besides Vue, Vue Router is also used, and the convention is to use TypeScript and the Composition API. For the authorization, [the controller](/deliverables/controller) is used. | ||
|
||
## IDP Provider | ||
|
||
Authentication works by providing the URL to the pod provider. To ease the experience a default URL is specified in the `.env` and used in `components/LoginForm.vue`. An example can be found in `.env.example`. | ||
|
||
## How to run | ||
|
||
Make sure to **first build the controller!** | ||
|
||
```sh | ||
# Install dependencies | ||
pnpm install | ||
|
||
# Compile and Hot-Reload for Development | ||
pnpm dev | ||
|
||
# Build for production | ||
pnpm build | ||
|
||
|