Skip to content
SplusEins - Stundenplan und Mensaplan für Studenten der Ostfalia Wolfenbüttel
Vue HTML JavaScript TypeScript CSS Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__
app
assets
components
concourse
layouts
lib
middleware
pages
plugins
server
static
store
.editorconfig
.eslintrc.js
.gitignore
.nvmrc
LICENSE
README.md
netlify.toml
nuxt.config.js
package-lock.json
package.json
process-dev.yml
process-prod.yml
shims-tsx.d.ts
shims-vue.d.ts

README.md

SplusEins

Issue Management

Planned features and bugs are tracked in Trello. Please send us a mail if you have any questions or suggestions.

Build Setup (Frontend)

# install dependencies
$ npm install

# Set environment variables to use the remote api
$ API_URL=https://spluseins.de/ (Linux/Unix)
$ set API_URL=https://spluseins.de/ (Windows)

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

Build Setup (Backend)

# Set environment variables
$ CACHE_PATH=spluseins-cache (Linux/Unix)
$ set CACHE_PATH=spluseins-cache (Windows)

# start dev api at localhost:3001
$ npm run dev:api

# build for production and launch server
$ npm run build:api
$ npm start:api

Configuration

Environment variables:

  • CACHE_PATH (backend)
  • CACHE_DISABLE (backend)
  • HOST (backend)
  • PORT (backend)
  • API_PREFIX (backend)
  • SEMESTER_WEEK_1 (frontend): first week with lectures
  • PAGE_CACHE_SECONDS (frontend): rendered nuxt page cache duration
  • ICS_PRELOAD_WEEKS (backend): number of weeks to fetch for ICS
  • ICS_CACHE_SECONDS (backend): ICS header cache duration
  • SPLUS_CACHE_SECONDS (backend): timetable memory and header cache duration
  • NEWS_CACHE_SECONDS (backend): news memory and header cache duration
  • MENSA_CACHE_SECONDS (backend): mensa memory and header cache duration
You can’t perform that action at this time.