Skip to content

Creating Lava instance

Michał Oręziak edited this page Jun 12, 2019 · 1 revision

Creating Lava instance

const { WARSAW_AFTER_SECONDARY_SCHOOL_URL } = require('@warsawlo/lava/urls/2019')

const Lava = require('@warsawlo/lava')({
  baseURL: WARSAW_AFTER_SECONDARY_SCHOOL_URL
})

What's going on here?

  1. Import proper URL Vulcan recruitment system is used by many cities. Moreover, in 2019 there are different recruitment processes - one for primary school students and one for secondary school students. So you have to require proper URL from our package. (More about URLs you can read here).
  2. Just create an instance of Lava passing the chosen URL.
Clone this wiki locally