Deployed - https://dream-tales-90c0129deeec.herokuapp.com/
For an easy and quick trial, use the following credentials:
Email: test@g.com
Password: 1234
This repository consists of a full-stack application that utilizes NEXT.js for both front-end and back-end, PostgreSQL for the database. It integrates OpenAI technologies and APIs and is deployed on Heroku. Additionally, it employs Google Cloud Storage for storing and displaying generated images. All are styled using Tailwind and Vanilla CSS.
For a localhost repository version - visit localhostVesrion
branch and follow the installing instructions there.
Are you tired of reading the same old bedtime stories night after night? Do you struggle to come up with new, creative tales for your little one? Do you want your child to be the star of their own adventure? Look no further - we've got you covered! Welcome to DreamTales, the ultimate personalized kids' story app. We understand that every child is unique and deserves stories as special as they are. With DreamTales, you'll embark on a journey of imagination, discovery, and learning, all tailored to your child's interests and preferences. How does it work? It's as easy as 1-2-3:
- Create an account: to have access to all your previously generated stories and images.
- Create Your Hero: Enter your child's name, and age, and even select a style for the story. Whether it's a magical adventure, a hilarious escapade, or a heartwarming tale, you're in control.
- Choose Your Adventure: Pick an educational topic that aligns with your child's developmental needs. From teaching friendship to promoting dental hygiene or potty training, our stories are not only entertaining but also educational.
- Add Special Characters: Make the story even more exciting by adding characters like siblings, friends, and parents! Your child will love seeing their loved ones as part of their bedtime journey.
But what's a story without visuals? We've got that covered too! Our app goes above and beyond
by generating a one-of-a-kind illustration for every story
. No more generic images - each picture is crafted to match your child's story, making their DreamTale experience truly unforgettable. Explore Endless Possibilities: With DreamTales, there's no limit to the stories you can enjoy. Every adventure is fresh, exciting, and designed to captivate young minds. Boost Imagination and Learning: Our stories aren't just about entertainment; they're about nurturing creativity, improving reading skills, and imparting valuable life lessons about kindness, friendship, and more. As we embark on this magical storytelling journey, we're not just creating an app - we're creating memories. Join us in redefining bedtime stories, one DreamTale at a time. Let's make every night an enchanting experience filled with wonder, laughter, and learning. Dream big with DreamTales!
Ensure that you have the following dependencies installed and properly configured:
bcrypt
(^5.1.0): Password hashing librarybcryptjs
(^2.4.3): Alternative password hashing librarycookie
(^0.5.0): Library for handling HTTP cookiescookie-parser
(^1.4.6): Middleware for parsing cookiesjsonwebtoken
(^9.0.1): Library for creating and verifying JSON Web Tokens (JWT)next
(13.4.12): React framework for server-rendered applicationsopenai
(^3.3.0): OpenAI API client for integrationpg
(^8.11.1): PostgreSQL client for Node.jsreact
(18.2.0): JavaScript library for building user interfacesreact-cookie
(^4.1.1): Library for handling cookies in React applicationsreact-dom
(18.2.0): Entry point for rendering React components
The following development dependencies are used for building and styling the app:
autoprefixer
(^10.4.14): PostCSS plugin to parse CSS and add vendor prefixespostcss
(^8.4.27): Tool for transforming CSS with JavaScripttailwindcss
(^3.3.3): Utility-first CSS framework
OpenAI models
text-davinci-003
model for generating text;dall-e-3
model for image generation;
- Canva - for web design, logo, backgrounds
- Coolors - to generate the color schemas
- Wind UI - Tailwind CSS library. Just copy and paste them on your Tailwind CSS project.
- Haikei - Generate unique SVG design assets. For background generation
- LICEcap - simple animated screen capture tool for Windows and OS X
- updated img generate model to Dall-E 3
- Responsive design added + UA language
- Interactive Adventures: guide your child through interactive stories where their choices shape the outcome.
- audio storytelling option will read the stories aloud, so you can relax while your child explores.
- Add picture styles options.