using DALLE 2 from openAi to fetch images. Node-Express server with basic static frontend.
- make sure you have node installed
- npm i
- run "npm run dev"
- then go to "localhost:5003"
- CREATE .env file and add PORT=5003, you can choose another port
- generate openai api key and put it in as OPENAI_API_KEY='XXXXXXX' in the .env file
documentation open ai api key: https://beta.openai.com/docs/introduction https://beta.openai.com/account/api-keys