Siteware Backend is the backend for an AI-powered voice agent platform that allows users to create unlimited custom assistants. This project integrates with Twilio to enable real-time voice communication, making it a versatile solution for various voice interaction use cases such as customer service bots, personal assistants, and more.
Siteware architecture and idea updated in following links
https://www.mindmeister.com/app/map/3406120305?t=Y7TsUqg6h2

Ensure you have the following installed on your machine:
Clone the repository:
Install dependencies:
npm install
Configure environment variables:
Create a .env file at the root of your project and add your configurations (Twilio credentials, database URL, etc.):
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
DATABASE_URL=your-database-url
Generate Prisma Client:
npx prisma generate
Build the project:
npm run build
Start the development server:
npm run dev
Access the app at http://localhost:8000.
Build the Docker image:
docker build -t siteware-backend .
Run the Docker container:
docker run -p 8000:8000 siteware-backend
The app should now be running and accessible at http://localhost:8000.
Make sure the following environment variables are set for production:
NODE_ENV=production
PORT=8000
DATABASE_URL=your-production-database-url
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
In production, run the app with:
npm start
If there are any new migrations or updates to the database schema:
npx prisma migrate deploy
End client https://loco-soft.de/
Sponsor:
https://de.linkedin.com/company/sugarpool
https://de.linkedin.com/in/andreas-jansen-6634ba49
https://soundcloud.com/andreas-jansen-361617862
https://www.powerhouse.band/band/andreas-jansen/
https://www.xing.com/profile/ANDREAS_JANSEN7