| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains multiple projects. To get them running, go through them individually
The base functionality for...
The access management app
A first demo application to showcase Loama. MockBook is a social network that allows users to view their posts and friends.
Data
A second demo application to showcase Loama. DoctorApp is a medical app that allows you to view your doctor appointments.
Data
All common functionalities across controller, loama, or (demo) applications
All common functionalities across (demo) applications, relies on solid-common-lib.
The apps are configurable by means of some environment variables.
The environment variables are read from .env[.mode] files as documented by Vite.
Each app has a file .env.example showing the possibilities. You may copy it to e.g. .env in the same directory and modify it to your needs.
One environment variable is common to all apps: VITE_BASE, allowing to run the app in a URL with a path. The loama .env.example file would result in the loama app running at e.g. http://localhost:5173/loama/. Very useful for running this app behind a reverse proxy!
We use yarn workspaces to manage our dependencies of all the subprojects.
Run yarn or yarn install to get all the dependencies.
Do this before starting loama a very first time after installation:
# terminate all yarn dev commands below with <Ctrl-C> as soon as they display "Found 0 errors. Watching for file changes."
cd ./solid-common-lib/
yarn dev
cd ../solid-app-lib/
yarn dev
cd ../controller/
yarn devTo start the dev server for loama and its dependencies:
yarn devThis makes use of nx to run a job in multiple projects.
Now you can find loama at http://localhost:5173, or in a URL with a path, if you configured so in your .env as explained above.
This will spin up a Community Solid Server on port 3000.
| Back | FazBrowse Home | New Git URL |