FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Gyanthakur/ImageGenesis: ๐Ÿ–ผ๏ธ Image Generator A tool that creates images from text prompts or custom inputs ๐ŸŽจ. Features include customizable styles ๐ŸŽญ, high-resolution outputs ๐Ÿ–Œ๏ธ, and creative flexibility ๐ŸŒˆ. Ideal for designers, marketers, and anyone needing unique visuals for projects! ยท GitHub

Latest commit

ย 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Generate Image from Prompt ๐Ÿ–ผ๏ธ

This repository contains a MERN (MongoDB, Express.js, React.js, Node.js) stack application that generates images from user prompts. The frontend is built using Vite for fast development, and the backend handles prompt processing and storage efficiently. Below is a detailed overview of the project and its structure.


๐Ÿš€ Features

  • Generate images based on textual prompts.
  • User authentication and prompt-based image generation.
  • Smooth and responsive user interface.
  • Optimized backend API for seamless performance.
  • Secure handling of user data with authentication middleware.

๐Ÿ› ๏ธ Tech Stack

  • Frontend: React.js, Vite
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Styling: CSS Modules
  • Authentication: Custom middleware

๐Ÿ“‚ File Structure

Backend (Server)

server/
โ”œโ”€โ”€ config/               # Configuration files (e.g., database connection)
โ”œโ”€โ”€ controllers/          # Logic for handling requests
โ”‚   โ”œโ”€โ”€ imageController.js
โ”‚   โ”œโ”€โ”€ userController.js
โ”œโ”€โ”€ middlewares/          # Authentication middleware
โ”‚   โ””โ”€โ”€ auth.js
โ”œโ”€โ”€ models/               # Mongoose models for MongoDB
โ”‚   โ”œโ”€โ”€ transactionModel.js
โ”‚   โ”œโ”€โ”€ userModel.js
โ”œโ”€โ”€ routes/               # API endpoints
โ”‚   โ”œโ”€โ”€ imageRoutes.js
โ”‚   โ”œโ”€โ”€ userRoutes.js
โ”œโ”€โ”€ .env                  # Environment variables
โ”œโ”€โ”€ server.js             # Entry point of the backend

Frontend (Client)

client/src/
โ”œโ”€โ”€ components/           # Reusable UI components
โ”‚   โ”œโ”€โ”€ Description.jsx
โ”‚   โ”œโ”€โ”€ Footer.jsx
โ”‚   โ”œโ”€โ”€ GenerateBtn.jsx
โ”‚   โ”œโ”€โ”€ Header.jsx
โ”‚   โ”œโ”€โ”€ Loader.jsx
โ”‚   โ”œโ”€โ”€ Login.jsx
โ”‚   โ”œโ”€โ”€ Navbar.jsx
โ”‚   โ”œโ”€โ”€ Steps.jsx
โ”‚   โ”œโ”€โ”€ Testimonials.jsx
โ”œโ”€โ”€ context/              # React Context for state management
โ”‚   โ””โ”€โ”€ AppContext.jsx
โ”œโ”€โ”€ pages/                # Application pages
โ”‚   โ”œโ”€โ”€ BuyCredit.jsx
โ”‚   โ”œโ”€โ”€ Home.jsx
โ”‚   โ”œโ”€โ”€ Result.jsx
โ”œโ”€โ”€ App.css               # Global CSS styles
โ”œโ”€โ”€ App.jsx               # Main React component
โ”œโ”€โ”€ index.css             # Global styles
โ”œโ”€โ”€ main.jsx              # Entry point of the frontend

๐Ÿ“ธ Demo

credit

with input

output

responsive

๐Ÿ“ง Contact For any queries or suggestions, reach out at: gps.96169@gmail.com.
๐Ÿ“ง Contact For any queries or suggestions, reach out at:

About

๐Ÿ–ผ๏ธ Image Generator A tool that creates images from text prompts or custom inputs ๐ŸŽจ. Features include customizable styles ๐ŸŽญ, high-resolution outputs ๐Ÿ–Œ๏ธ, and creative flexibility ๐ŸŒˆ. Ideal for designers, marketers, and anyone needing unique visuals for projects!

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL