An intelligent secretary for showcase site, which notifies you when someone wants to contact you or is interested in your products.
Please, before starting, make a copy of the .env.example
file, insert your environment variables there, and then rename that file as .env
.
Note: URL_SEND_MESSAGE
is the variable where you can save a URL if you need to receive some user data (in this case, the user's email). The user's message will be sent in the payload as the userMessage
variable.
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.