@moostjs/event-http
v0.4.22
Published
@moostjs/event-http
Downloads
186
Maintainers
Readme
@moostjs/event-http
Welcome to @moostjs/event-http
, a Moostjs library that serves as a wrapper for @wooksjs/event-http. This package provides decorators for composing functions, thereby enhancing the simplicity and efficiency of your Moost application.
Note: As @moostjs/event-http
is under active development, breaking changes can be expected.
Overview
The @moostjs/event-http
module plays a crucial role in making Moost apps receptive to HTTP events. By employing it in your project, you can create handlers for HTTP events in a declarative, structured manner.
Getting Started
Starting a new Moost HTTP project is quite simple. All you need to do is run the following command:
npm create moost -- --http
You can also provide a name for your project:
npm create moost my-web-app -- --http
This command will initiate a setup tool that will guide you through the project initialization process. It will prompt you to make certain choices such as:
- Whether you want to integrate eslint and prettier.
- Which bundler you prefer to use: esbuild or rollup.
Official Documentation
Contributing
We are excited to welcome contributors who are passionate about improving Moostjs. No matter your level of experience, your unique perspective and skills can make valuable contributions to our growing community.
Here are some basic steps to get you started:
Fork the Repo: Navigate to moostjs and fork the repository to your own GitHub account.
Clone the Repo: Clone the forked repository to your local machine.
Create a Branch: Make a new branch for your feature or bug fix.
Make your Changes: Implement your feature or fix the bug and commit the changes to your branch.
Make a Pull Request: Navigate back to your forked repo and press the "New pull request" button.
Don't hesitate to ask for help if you need it. We believe in fostering a friendly and respectful environment for all contributors.
Thank you for your interest in Moostjs. We look forward to building something amazing together!