Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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

Live 🚀

## 👨‍💻 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)