In the project directory, you can run:
Runs the app frontend in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Runs the app backend in the development mode, listening on port 8000.
Add a .env
file at the root of project. Add .env
to your .gitignore
file.
Then get an API key to access Google's generativeai.
Within your .env
file store your API Key as below, with the Xs replaced by your API key:
API_KEY=XXXXXXXXXXXXX