Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Backend for Controlalo. RESTful API that handles business logic, transaction data, and calculations. Built with Node.js/Express.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A comprehensive expense management backend API built with Node.js, Express, and Sequelize. This application provides a robust REST API for managing personal and business expenses with features like user authentication, expense tracking, categorization, and AI-powered expense extraction from text.README 전문 보기 ↗A comprehensive expense management backend API built with Node.js, Express, and Sequelize. This application provides a robust REST API for managing personal and business expenses with features like user authentication, expense tracking, categorization, and AI-powered expense extraction from text.
Clone the repository
git clone <repository-url>
cd app-gastos-ba
Install dependencies
npm install
Environment Configuration
Create a .env file in the root directory:
PORT=4000
DB_HOST=localhost
DB_USER=your_username
DB_PASS=your_password
DB_NAME=projectgastos
DB_DIALECT=mysql
JWT_SECRET=your_jwt_secret_key
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-3.5-turbo
Database Setup
src/database/db.sqlStart the application
# Development mode with auto-reload
npm run dev
# Production mode
npm start
The server will start on http://localhost:4000
POST /api/register
Content-Type: application/json
{
"username": "user123",
"password": "password123",
"email": "[email protected]"
}
POST /api/login
Content-Type: application/json
{
"username": "user123",
"password": "password123"
}
GET /api/gastos?usuario_id=1&descripcion=groceries
Authorization: Bearer <jwt_token>
POST /api/gastos
Content-Type: application/json
Authorization: Bearer <jwt_token>
{
"descripcion": "Grocery shopping",
"monto": 150.50,
"fecha": "2024-01-15",
"divisa_id": 1,
"tipostransaccion_id": 1,
"metodopago_id": 1,
"categoria_id": 1,
"usuario_id": 1
}
PUT /api/gastos/:id
Content-Type: application/json
Authorization: Bearer <jwt_token>
{
"monto": 160.00,
"descripcion": "Updated grocery shopping"
}
DELETE /api/gastos/:id
Authorization: Bearer <jwt_token>
POST /api/audio
Content-Type: application/json
Authorization: Bearer <jwt_token>
{
"texto": "I spent $50 on groceries yesterday using my credit card",
"usuario_id": 1
}
GET /api/categorias
POST /api/categorias
PUT /api/categorias/:id
DELETE /api/categorias/:id
GET /api/divisas
POST /api/divisas
PUT /api/divisas/:id
DELETE /api/divisas/:id
GET /api/metodosPagos
POST /api/metodosPagos
PUT /api/metodosPagos/:id
DELETE /api/metodosPagos/:id
GET /api/tiposTransacciones
POST /api/tiposTransacciones
PUT /api/tiposTransacciones/:id
DELETE /api/tiposTransacciones/:id
The application uses the following main tables:
The application integrates with OpenAI's GPT models to:
app-gastos-ba/
├── app.js # Main application file
├── package.json # Dependencies and scripts
├── src/
│ ├── models/ # Sequelize models
│ ├── routes/ # API route handlers
│ ├── database/ # Database schema
│ └── security/ # Authentication middleware
└── assets/ # Static assets
npm run dev: Start development server with nodemonnpm start: Start production servernpm test: Run tests (to be implemented)git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the ISC License.
For support and questions, please open an issue in the repository or contact the development team.