Skip to content

nih-sparc/sparc-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0ca1c33 · Jun 15, 2024
Oct 20, 2023
Mar 14, 2024
Apr 11, 2024
Oct 2, 2023
Jul 20, 2023
Nov 21, 2023
Dec 21, 2023
Jun 12, 2024
Oct 10, 2023
Dec 16, 2023
Mar 14, 2024
Jul 20, 2023
Mar 4, 2024
Apr 5, 2024
Apr 2, 2020
Dec 12, 2019
Feb 12, 2021
Nov 16, 2023
May 23, 2021
May 7, 2020
Dec 6, 2019
Nov 5, 2021
Sep 13, 2022
Apr 2, 2020
Dec 6, 2019
Nov 16, 2023
Apr 2, 2020
Dec 6, 2019
Mar 14, 2024
Mar 19, 2024
Feb 10, 2020
May 18, 2020
Mar 19, 2024

Repository files navigation

SPARC WEB APPLICATION

This is the repository for the SPARC-Portal Web Application. The application is build using Nuxt.js and Vue.js.

It depends on the SPARC-API which can be found here

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Important Note on Running Locally

Ensure that the following configuration variables are set in your environment prior to running (values can be obtained once you are given access to the sparc-portal developer apps on Heroku):

  • ALGOLIA_API_KEY
  • ALGOLIA_APP_ID
  • PENNSIEVE_API_HOST
  • PENNSIEVE_API_SECRET
  • PENNSIEVE_API_TOKEN
  • CTF_SPACE_ID
  • CTF_CDA_ACCESS_TOKEN
  • CTF_API_HOST
  • DEPLOY_ENV
  • PORTAL_API_HOST

For detailed explanation on how things work, check out Nuxt.js docs.