AI DALL-E is an advanced artificial intelligence model developed by OpenAI that generates highly detailed and realistic images from natural language descriptions. It has potential applications in design, art, and entertainment.
This is a simple Create/Post application where every part of this project is sample code which shows how to do the following:
- Create a custom web server with Node.JS using HTTPRouter
- Create a Mongoose DataBase which saves the data in cloud
- Create a Cloudinary
- Create a front end with React
- Create a Tailwind UI
This project uses a number of open source projects to work properly:
- React - HTML enhanced for web apps!
- Tailwind - an open source CSS framework
- OpenAi - Artificial intelligence Bot
- Cloudinary - Cloudinary is a software solution based on Software-as-a-Service (SaaS)
- Vite - Markdown parser done right. Fast and easy to extend.
- node.js - evented I/O for the backend
- Express - fast node.js network app framework
- Mongoose - Cloud Database
Install the dependencies and devDependencies and start the server.
cd server
npm i
For production environments...
Create .env file in server folder and add these valiables in it
OPENAI_API_KEY=
ChatGPT openai api
MONGODB_URL=
Add your local or cloud based Database
CLOUDINARY_CLOUD_NAME=
Add your Cloudinary name
CLOUDINARY_API_KEY=
Add your Cloudinary API key
CLOUDINARY_API_SECRET=
Add your Cloudinary API secret
cd client
npm i
npm nodemon
npm run build
npm run start
npm run dev
npm run build
npm run start