Deploying wasp(0.14.1 ) ubuntu(22.04) vultr server
we are creating an ai photo web app where a backend ai will scan a photo identify certain features then return the photo to the user with specific changes.
Does wasp have all the front end features necessary to accomplish this and work smoothly with our back end ai?
and how do you recommend i proceed?
2 Replies
Hi @smugplug. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Wasp is a full-stack framework that can certainly help you build your AI photo web app. It provides a smooth integration between the frontend (React) and the backend (Node.js), and it also supports a PostgreSQL database.
To start with, you need to install Wasp on your Ubuntu server. You can do this by running the following command in your terminal:
After installation, you can create a new Wasp app by running
wasp new
and then start the app with wasp start
source (https://wasp-lang.dev/docs/quick-start#installation).
For your specific use case, you would need to create a frontend that allows users to upload photos, and a backend that interacts with your AI to process these photos. Wasp supports these functionalities, but the specifics of how to implement them would depend on the details of your AI and how it processes images.
Once your app is ready, you can deploy it using either the Wasp CLI or manually. The Wasp CLI offers a single-command deployment, which can be done using wasp deploy fly deploy
. If you prefer to deploy manually, you would need to generate deployable code, deploy the API server (backend), deploy the web client (frontend), and deploy a PostgreSQL database source (https://wasp-lang.dev/docs/advanced/deployment/overview).
As for the frontend features, Wasp uses React for the frontend, which is a popular library for building user interfaces. It should provide all the necessary features for your app. However, please note that while Wasp provides the framework and tools for building your app, the specific implementation of your app's features (like uploading and displaying photos, interacting with the AI, etc.) would be up to you or your development team.
For AI integration, while Wasp doesn't currently offer any additional help for developing your Wasp app with AI beyond initial generation, they suggest checking out aider (https://github.com/paul-gauthier/aider), an AI pair programming tool in your terminal source (https://wasp-lang.dev/docs/wasp-ai/developing-existing-app).
If you need further assistance or have any questions, you can join the Wasp community on Discord (https://discord.gg/rzdnErX) source (https://wasp-lang.dev/docs/quick-start#installation).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @smugplug, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?It sure does have all the features! Check our docs to learn more, I recommend going through the tutorial: https://wasp-lang.dev/docs/tutorial/create . Keep in mind that Wasp is not just frontend, it is a full stack framework.
1. Creating a New Project | Wasp
You'll need to have the latest version of Wasp installed locally to follow this tutorial. If you haven't installed it yet, check out the QuickStart guide!