This demo app is intended to be a starting point to try out Freym. Please have a look at the Freym documentation, too.
The Freym demo is a closed demo. To get a running demo instance of Freym please get in touch with us
- Get in touch with us and request a demo instance. We will provide all needed configuration values:
customerId
: An id that identifies your demo instancejwtSecret
: The secret used to sign jwts that work with your instancemigrationsAddress
: The address of the migrations apimigrationsApiToken
: A token used to authenticate against the migration api
- Clone this repo
- Replace all occurances of
demo
intsconfig.json
with yourcustomerId
- Copy the
.env.template
and name the new file.env.local
- Use the
customerId
as the value forNEXT_PUBLIC_CLIENT_NAME
- Use the
jwtSecret
as the value forJWT_SECRET
- Copy the
./schema/.env.template
and name the new file./schema/.env
- Use the
migrationsAddress
as the value forMIGRATIONS_SERVER_ADDRESS
- Use the
migrationsApiToken
as the value forMIGRATIONS_API_TOKEN
- Run
make migrate
to apply the schema within./schema
to Freym - Don't forget to install the dependencies:
npm install
Run npm run dev
to start the frontend app locally.
Open localhost:3000
in your browser.
Besides the configuration values you will get user credentials that you can use to sign in to the application.
In order to use the graphql sandboxes you need to provide a jwt.
You can retrieve the jwt from the local-storage value named jwt
, which is saved when you log in.
Add the jwt
as a bearer token to the Authorization
header when configuring the sandbox.
Run make migrate
to apply the the schema within ./schema
to Freym. To learn more about Freym schema and migrations please have a look at our docs: