Skip to content

Virtual stand for matriculation ceremony built with React and Firebase

Notifications You must be signed in to change notification settings

NTNUI/virtual-stand

Repository files navigation

NTNUI virtual stand for NTNU matriculation ceremonies 2020/2021

Development

  1. Install dependencies: yarn
  2. Compile and hot-reload: yarn start
  3. Compile and minify for production: yarn build
  4. Lint and fix files: yarn lint

The project is built using React and Google Firestore Database. To access and edit the database you need access, currently managed by @olros. To edit already existing groups you do not need access to the database, but you can get access using the login page (Firebase email authentication, recommended for non-developers).

Firestore database

To add a new group, a developer must add a new field directly in the Firestore database. Any authenticated user/non-developer can edit existing groups at stand.ntnui.no/grupper/[slug]/rediger/.

Group object template

To add a group, you need to create a new field in info > group:

groupname (map)
    contact (string): ""
    cover_image (string): ""
    images (array): []
    long_description (string): ""
    name (string): "Group name"
    short_description (string): ""
    slug (string): "groupname"

An example of a group after adding a new map field in the database:

After adding the new group, add data/information to the group using the live site itself while logged in, at stand.ntnui.no/grupper/[slug]/rediger/.

About

Virtual stand for matriculation ceremony built with React and Firebase

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •