Code Monkey home page Code Monkey logo

dalle_clone's Introduction

Welcome to Dalle_clone!

๐Ÿ’ก Concept

A fullstack (MERN) web app based on OpenAI API, allowing to create, post and download AI generated (DALL-E) pictures based on text prompts.

๐Ÿ” Project overview

The app allows users to create AI generated pictures (1024x1024) based on text prompts. On homepage there is a display of all generated pictures. From homepage user can download any picture. On "create-post" page user can create picture based on custom prompts or choose a random prompt from a ready base of sample prompts. Pictures are stored in cloudinary account and MongoDB stores data to post and get the prompts. The app has light and dark mode, depending on user preference.

๐Ÿ“ฆ Tech stack:

  • Vite
  • MongoDB
  • Express.js
  • React with Hooks
  • Node.js
  • Tailwind css
  • OpenAI API
  • Cloudinary

๐Ÿ’ป Demo

Click the link and check the demo app: Dalle-link

๐Ÿ’พ Installation

/server:

  • install modules (CLI): "npm install"
  • add .env file and to add following data of your own:
    • OPENAI_API_KEY="your_key"
    • MONGODB_URL="your_mongodb_link"
    • CLOUDINARY_CLOUD_NAME="cloud_name"
    • CLOUDINARY_API_KEY="your_key"
    • CLOUDINARY_API_SECRET="secret"
  • run local server (CLI): "npm run dev"

/client:

  • install modules (CLI): "npm install"
  • change both fetch addresses (in both src/pages/Home.jsx and src/pages/CreatePost.jsx) to localhost
  • run local server (CLI): "npm run dev"

โ˜Ž๏ธ Contact

In case of any comments or advice, You can e-mail me or use Issues :)

๐Ÿง™โ€โ™‚๏ธ Author

dalle_clone's People

Contributors

marcinsuski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.