Skip to content

icollett/Dev_Hack_2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevHack_athon 2025

Cybersecurity engagement question API

This project is a express API server that we have deployed on Vercel. Our API allows users to request evaluations and get advice on suspicious communications they recieve. In addition, it is an endpoint for our engagement and awareness training for scam prevention to request quiz-like questions based on request parameters.

Our API leverages custom prompting using Google Gemini to analyze user submitted suspicious communications, and advise them on next steps to take to protect themselves and their assets.

Our games endpoint feeds our engagment frontend component by using customized prompts with Google Gemini to create multiple choice questions based around the request query parameters sent to our API.

Requirements:

dependencies:
    -@google/generative-ai
    -@types/express
    -@types/node
    -dotenv
    -express
    -nodemon
    -pre-commit
    -rimraf
    -ts-node
    -typescript

Install

Once you have copied the package.json just:

npm install

Configuration:

Make sure you create your .env file in your project root with the appropriatley named API key for Gemini.

Run local

To start the server locally, use:

npm start

To deploy on vercel

You will need a Vercel account. You can read through the basics of starting express with Vercel here: https://vercel.com/guides/using-express-with-vercel

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors