This monorepo contains all OxyHQ packages including services and API components.
Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more for React Native and Web applications.
Express.js API server with authentication, user management, real-time features using Socket.IO, and MongoDB integration.
- Node.js >= 18.0.0
- npm >= 9.0.0
# Install all dependencies for all packages
npm install
# Or install dependencies for all workspaces
npm run install:all# Build all packages
npm run build
# Run tests for all packages
npm run test
# Clean all packages
npm run clean# Build services package
npm run services:build
# Test services package
npm run services:test# Start API in development mode
npm run api:dev
# Build API
npm run api:build
# Start API in production mode
npm run api:start├── packages/
│ ├── services/ # @oxyhq/services - React Native/Web library
│ │ ├── src/ # Source code
│ │ ├── lib/ # Built output
│ │ └── package.json # Package configuration
│ └── api/ # @oxyhq/api - Express.js API server
│ ├── src/ # Source code
│ ├── dist/ # Built output
│ └── package.json # Package configuration
├── package.json # Root package.json with workspace configuration
└── README.md # This file
- Make changes to any package in the
packages/directory - Build the specific package or all packages
- Test your changes
- Commit using conventional commit format
Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the individual package LICENSE files for details.
Visit oxy.so to learn more about OxyHQ.