-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
TODO
- Implement an endpoint to get all sorting quiz answers of each hacker that was accepted.
const exampleData = {
id: '1',
email: 'mike@gmail.com',
postAcceptanceResponcese: {
hangingWithFriends: 'Listening to what everyone has to say!',
zombieApocalypse: 'Water purifying water bottle',
takeOverNation:
'Send someone to marry the heir to their throne to take over from the w…',
aspirations:
'Be remembered. You see leaving your mark on the world as the meaning i…',
study: 'Drill pass exams questions',
stuckInElevator: 'Find your RA’s Discord and call them immediately',
socialMedia: 'Instagram',
duringClass: 'Active listening and reflecting and making connections '
}
};
Notes:
- Put out a .env file for the internal tools repo within the cabin folder, that contains the necessary Mongo credentials for developing. Remember to NOT upload these anywhere online, including GitHub
# mongodb configuration
# if changing any of these, also re-configure cypress.json
# these are only used for dev (and running in CI on Github):
MONGO_DEV_PORT=27017
MONGO_DEV_USERNAME=**Extract string from .env file in the app portal**
MONGO_DEV_PASSWORD=**Extract string from .env file in the app portal**
# comment the above, and uncomment below when you want to test against prod db
#MONGO_SERVER_DBNAME=**Extract string from .env file in the app portal**
#MONGO_PROD_CONNECTION_STRING=**Extract string from .env file in the app portal**
-
Create a mongo.js file similar to the one in the lib directory in the cabin directory
-
We will work on integrating this data with the algorithm in the next ticket, just to be able to retrieve the specific data asked above.
To view hacker data, access the application_data cluster on MongoDB and look at the postAcceptanceResponses field
