8000 GitHub - graasp/client: Client interface for the Graasp platform
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

graasp/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graasp Account

All Contributors

GitHub Release typescript version gitlocalized

Translation status

gitlocalized-fr gitlocalized-de gitlocalized-es gitlocalized-it gitlocalized-ar

Getting Started

You will need pnpm. Refer to the Getting started documentation for developers to install it using volta

  1. Install the dependencies pnpm i
  2. Start the development server with pnpm dev

Environment variables

For reference, here are all the environment variables that you can use to override the behavior of the app. In development none of them should be required. But some checks might require them.

# .env.development
VITE_VERSION=local
VITE_PORT=3114
VITE_GRAASP_API_HOST=http://localhost:3000
VITE_SHOW_NOTIFICATIONS=true

VITE_UMAMI_WEBSITE_ID=<the id of your umami project>
VITE_UMAMI_HOST=http://localhost:8000

VITE_SENTRY_ENV= # some value
VITE_SENTRY_DSN= # some value

VITE_RECAPTCHA_SITE_KEY= # some value

VITE_GRAASP_H5P_INTEGRATION_URL= # the origin for the h5p integration

VITE_GRAASP_REDIRECTION_HOST=http://localhost:3114/redirect

Running the project in preview mode

If you do not need to actively develop the project you can run it in preview mode. This mode runs the app from the static build and uses a lot less RAM compared to running in development mode.

  1. You need to have a .env.production file with the following content:

    VITE_GRAASP_H5P_INTEGRATION_URL=http://localhost:3000/items/h5p-assets/
    VITE_GRAASP_REDIRECTION_HOST=http://localhost:3114/redirect
  2. Build the project pnpm build

  3. Preview the project pnpm preview

  4. Open the app running on: http://localhost:3114

Test setup

# .env.test
VITE_VERSION=local
VITE_PORT=3333
VITE_GRAASP_API_HOST=http://localhost:3636
VITE_SHOW_NOTIFICATIONS=true
VITE_GRAASP_ANALYZER_HOST=http://localhost:3005

Contributors

Kim Lan Phan Hoang
Kim Lan Phan Hoang

💻
Alexandre Chau
Alexandre Chau

💻
Basile Spaenlehauer
Basile Spaenlehauer

💻
Thibault Reidy
Thibault Reidy

⚠️ 💻
Martina Vincoli
Martina Vincoli

🎨 🌍
Jérémy La Scala
Jérémy La Scala

💻 🐛 ⚠️ 🔬
Morgan Ridel
Morgan Ridel

🚇 💻 ⚠️ 📖
Juan Carlos Farah
Juan Carlos Farah

💻 👀 ⚠️ 🔬 🤔 🐛
claudiaalarconlpz
claudiaalarconlpz

🌍 🔬
Ziting Li
Ziting Li

💻 ⚠️ 🎨 📓
MalinSvenberg
MalinSvenberg

💻 ⚠️ ️️️️♿️
Po-Jui Chang
Po-Jui Chang

💻 ⚠️ 🎨
mariembencheikh
mariembencheikh

💻 ⚠️ 🎨 🌍
Lina Ebeid
Lina Ebeid

💻 ⚠️ 🎨 ️️️️♿️ 🌍
Víctor González
Víctor González

🚇 ⚠️ 🔧
Alvaro Bautista
Alvaro Bautista

💻 ⚠️ 🎨
Louise Wang
Louise Wang

💻
abdallah75
abdallah75

💻
Julien Torrent
Julien Torrent

💻 ⚠️
Su
Su

💻 ⚠️
HusamJubran
HusamJubran

🌍
0