Skip to content

wesleylui/Bedtime-Story-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SENG401FinalProject Group 16

Getting Started

Install Packages

npm install

Setup Environment

To run this program locally, you'll need to add the required environment variables. Get a gemini API key here

# gemini api
GEMINI_API="" # insert your API key here
GEMINI_MODEL="gemini-2.0-flash"

# local database hosting
MYSQLHOST=localhost
MYSQLUSER=root
MYSQLPASSWORD="" # enter your mysql password here
MYSQLDATABASE=story_gen
PORT=5050

ENV=local

DATABASE_URL=mysql://root:ziZqdUyLxeiqsDKgfQcpGJdXPpLYheGo@mysql.railway.internal:3306/railway

Start the Application Locally

run the application

npm start

run the frontend only

cd frontend
npm run dev

run the backend only

cd backend
node server.js

Open http://localhost:5173 (Vite default) with your browser to see the result.

About

Group16

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors