Eaglescout is a web-based scouting system for FRC Team 114 (Eaglestrike). It is written in node.js, with packages express.js and passport.js. Styling is done in Handlebars, HTML, and CSS. Database is MongoDB.
Latest development year: 2018.
- node.js
- NPM (node package manager)
- MongoDB
To clone the repository:
git clone https://github.com/Eaglestrike/Eaglescout.git
To install node modules:
npm install
To install node modules:
node app.js
var observationFormSchema = {
user: {
type: String,
input: null
},
competition: {
type: String,
input: "dropdown",
placeholder: "Select a competition",
title: "Current competition",
subtitle: "If you're at a practice match, select \"Practice Match\""
},
team: {
type: String,
input: "number",
placeholder: "Team number only",
title: "Team Number",
subtitle: "This is the team number that you are observing"
},
test_dropdown: {
type: String,
input: "dropdown",
data: {
"key1": "Value 1",
"key2": "Value 2"
},
placeholder: "This is a test!",
title: "Test for dropdown",
subtitle: "This is subtitle for dropdown"
},
test_mult: {
type: String,
input: "multiple_choice",
data: {
"key1": "Value 1",
"key2": "Value 2"
},
title: "Test for multiple choice",
subtitle: "This is subtitle for multiple choice"
},
test_long_text: {
type: String,
input: "long_text",
title: "Test for long text",
subtitle: "This is subtitle for long text"
},
test_short_text: {
type: String,
input: "short_text",
placeholder: "This is a placeholder",
title: "Test for short text",
subtitle: "This is subtitle for short text"
},
test_checkbox: {
type: String,
input: "checkbox",
placeholder: "This is a test!",
data: {
"check1": "Check 1",
"check2": "Check 2",
"check3": "Check 3",
"check4": "Check 4"
},
title: "Test for checkbox",
subtitle: "This is subtitle for checkbox"
},
test_number: {
type: String,
input: "number",
placeholder: "This is a number",
title: "Test for number",
subtitle: "This is subtitle for number"
},
test_slider: {
type: String,
input: "slider",
data: {
"min": 90,
"max": 100
},
placeholder: "This is a slider",
title: "Test for slider",
subtitle: "This is subtitle for slider"
}
}
Username: [email protected]
Password: team114
You can change this in models/user.js
under the createAdminUserIfNotExists
function. Alternatively, you can create a new admin user via the admin panel and delete the old one.
Default port: 3000