forked from hackclub/airbender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
27 lines (24 loc) · 1010 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require('dotenv').config()
const stopwatch = require('./util.js').stopwatch
const operations = require('./bases/operations.js')
const shipping = require('./bases/shipping.js')
const sdp = require('./bases/sdp.js')
const hardwareDonations = require('./bases/hardwareDonations.js')
const formSubmissions = require('./bases/formSubmissions.js')
const hackathons = require('./bases/hackathons.js')
const bankApplications = require('./bases/bankApplications.js')
const som = require('./bases/som.js')
const gch = require('./bases/gch.js')
// Entrypoint of application in ES6
console.log(`Airbender iteration starting...`)
Promise.all([
stopwatch('operations', operations),
stopwatch('shipping', shipping),
stopwatch('hardwareDonations', hardwareDonations),
stopwatch('formSubmissions', formSubmissions),
stopwatch('hackathons', hackathons),
stopwatch('sdp', sdp),
stopwatch('gch', gch),
stopwatch('som', som),
stopwatch('bankApplications', bankApplications)
]).catch(err => console.error(err))