This directory contains the Express-based backend for the Devablos Project V2. It handles API requests, WebSocket connections, and integrates with OpenAI's API for advanced functionalities.
- WebSocket and HTTPS support for real-time interactions.
- Integration with OpenAI API.
- Docker support for easy deployment and scaling.
- SSL configuration for secure communications.
server/
├── src/
│ ├── api/
│ ├── controllers/
│ ├── routes/
│ ├── services/
│ ├── utils/
│ ├── app.js
│ └── server.js
├── .env.example
├── .gitignore
├── Dockerfile
├── package.json
└── README.mdnpm installnpm startThis command starts the Express server at http://localhost:5000.
Set up your .env based on the .env.example file. This includes setting the OpenAI API key, OpenWeather API key, and other necessary configurations.
The application is dockerized for production and development environments. See the main README for Docker commands and setup details.
Access the Swagger UI at http://localhost:5000/admin to view and interact with the API documentation.
Contributions to enhance functionalities or documentation are welcome. Please adhere to our Code of Conduct when contributing.
This project is licensed under the MIT License - see the LICENSE file for details.