- 🚀 Integrated Frontend & Backend: Seamlessly combine React frontend with Express-based microservices
- ⚡️ Built-in Authentication: Ready-to-use authentication service with JWT support
- 🎯 TypeScript Support: First-class TypeScript support out of the box
- 🔄 Custom Hooks: Powerful hooks for service integration and state management
- 🛠 CLI Tools: Efficient development workflow with project scaffolding and code generation
- 📦 Microservices Architecture: Built-in support for microservices development
- 🔒 Security: Built-in security features and middleware
- 🎨 Customizable: Flexible configuration and extensible architecture
# Create a new StellarJS project
npx stellar-js create my-app
# Navigate to project directory
cd my-app
# Start development server
npm run dev
Visit http://localhost:3001 to see your app in action!
For detailed documentation, visit our Documentation Site:
// Define your service
class UserService {
async getUsers() {
return [
{ id: 1, name: 'John Doe' },
{ id: 2, name: 'Jane Smith' }
];
}
}
// Use in components
function UserList() {
const { data, loading } = useService('user', 'getUsers');
if (loading) return <div>Loading...</div>;
return (
<ul>
{data.map(user => (
<li key={user.id}>{user.name}</li>
))}
</ul>
);
}
# Create new project
stellar create my-app
# Generate components/services
stellar generate component UserList
stellar generate service User
# Development
stellar dev
# Production build
stellar build
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Copyright © 2023 Rahman Azhar. This project is MIT licensed.