This is a RESTful API for a todo application that uses PostgreSQL as a database and Sequelize as an ORM.
O Professionals Dummy App oferece um conjunto de funcionalidades essenciais para a administração de equipamentos de uma fábrica, incluindo:
Equipamentos: permite registrar e gerenciar informações sobre equipamentos disponíveis para uso na fabrica.
- REST com documentação OpenAPI
- Hono.js e TypeScript
- Sequelize com postgres
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository
- Install dependencies:
npm install- Set up environment variables:
# Create a .env file with the following content
PORT=3000- The database is automatically initialized when starting the application.
Development mode:
npm run devProduction mode:
npm run build
npm startnpm run lint
npm run lint:fixThe app swagger documentation is available at the root endpoint (/) when the server is running.
src/
├── application/ # Application services and use cases
├── domain/ # Domain models and interfaces
├── infrastructure/ # External services, database, web server
│ ├── database/ # Database implementation
│ └── web/ # Web server configuration
├── presentation/ # Controllers and DTOs
└── config/ # Application configuration
The Professionals Dummy App provides the following endpoints:
/professional- Manage Professionals
This project is licensed under the MIT License - see the LICENSE file for details.