a javascript quiz that gives you insight into your future with just a few simple questions ~ no risk!
- p5.js for front-end, mainly following this template by Yining Shi
- NOTE: it is not sustainable to have your API key on p5 web editor long-term as it is public and you risk your key being deactivated by OPENAI
- OPENAI API for text generation based on input
- nodejs for secret API handling
- http-server for client side hosting
- clone this repo
- register for your own OPENAI API key at this link
- replace labeled instance of API KEY insertion in server.js
- run npm install to get all the dependencies
- run the server with node server.js
- run the client-side by running http-server from the public directory
- visit localhost:8080 to give it a try!