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!
Install / Use
/learn @Gyanthakur/ImageGenesisREADME
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. <br/> š§ Contact For any queries or suggestions, reach out at: <a href="https://wa.me/918957818597?text=Hey%20%F0%9F%91%8B%2C%20how%20can%20I%20help%20you%3F"> <img src="https://img.shields.io/badge/WhatsApp-Click%20Me-25D366?style=for-the-badge&logo=whatsapp" alt="WhatsApp" /> </a>
