I haven't looked too far into it but it seems like the Google has an API to recieve information about particular political race.
So there is preexisting logic on this repo for login verification. I don't know if it is needed or should be used. Either way if I was planning on using DynamoDB as the main database. If you(Caroline) could figure out how to standup the Dynamo instance either using the Docker Image or downloading it locally and then use the SDK to put an object similar to below in the Database that would be great! The logic should be in a PUT
command in the route /donations
{
"CustomerID": "abc123",
"CanidateID": "def456",
"CharityID": "hij789",
"Donation": {
"Amount": "$2.00",
"Currency": "USD",
"Time": "1669334542",
"Platform": "Desktop"
}
}
This project was created with express-generator-typescript.
Run the server in development mode.
Run all unit-tests with hot-reloading.
Run a single unit-test.
Run all unit-tests without hot-reloading.
Check for linting errors.
Build the project for production.
Run the production build (Must be built first).
Run production build with a different env file.
- If
npm run dev
gives you issues with bcrypt on MacOS you may need to run:npm rebuild bcrypt --build-from-source
.