Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ukhang/ai-image-generator
AI image generator. Generate your desired image. I have created this application with the help of Openai-node node package.
https://github.com/ukhang/ai-image-generator
express nodejs openai-api react tailwindcss typescript vercel
Last synced: 2 days ago
JSON representation
AI image generator. Generate your desired image. I have created this application with the help of Openai-node node package.
- Host: GitHub
- URL: https://github.com/ukhang/ai-image-generator
- Owner: Ukhang
- License: mit
- Created: 2023-02-02T19:28:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T21:59:21.000Z (almost 2 years ago)
- Last Synced: 2023-05-04T14:19:22.218Z (over 1 year ago)
- Topics: express, nodejs, openai-api, react, tailwindcss, typescript, vercel
- Language: TypeScript
- Homepage: https://ukhang.github.io/AI-image-generator
- Size: 2.23 MB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 AI Image Generator
Generate your desired image. I have created this application with the help of Openai-node node package## 👨💻 Stack
- [React + Typescript](https://react-typescript-cheatsheet.netlify.app/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Node.js](https://nodejs.org/en/)
- [Express.js](https://expressjs.com/)
- [OpenAI-Node](https://www.npmjs.com/package/openai)## 📁 Project Structure
#### Frontend```
$CLIENT_ROOT
│ # Page files
├── src
│ # Image files
├── src/img
│ # Static files and favicon
└── public
```
#### Backend
```
$PROJECT_ROOT
│ # All controller
├── controller
│ # All api routing files
├── routes
│ # Main file
└── server.js
```## ✅ Installation
If you wish to run this app locally, clone this repo and install the dependencies.
1. Clone this repository:
```bash
$ git clone https://github.com/Ukhang/AI-image-generator.git
```2. Go into clone directory
```bash
$ cd AI-image-generator
```3. install backend dependencies and devDependencies:
```bash
npm intall
```4. install frontend dependecies and devDependencies
```bash
$ cd client
```
```bash
npm intall
```5. Run your frontend development server:
```bash
$ cd client
```
```bash
npm run start
```5. Run your backend development server:
```bash
npm run dev
```## License
Number converter is releashed under the [MIT License](https://github.com/Ukhang/AI-image-generator/blob/main/LICENSE)