Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1002 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 1002 Bytes

Picture-Book

Web App J Team 2024-4-28~2024-6-5

Description

This project is a web application that allows users to create picture books or e-books by entering prompts to Chat-GPT.

Frontend Installation

  1. Frontend Installation:
npm install
  1. Add your OpenAI API Key to
  • Create\api\get-image.js
  1. In the frontend directory, run:
npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

Backend Installation

  1. Backend Installation:
npm install
  1. DataBase Installation:

--Download MySql

--Input correct User_name, Password and Database_name in /Backend/.env

--Run Backend/test.sql in the DataBase command line

  1. In the Backend directory, run:
node server.js

Run the app in the development mode at http://localhost:4000

Reference:

  1. Storybird
  2. Storybird AI