cult is an unofficial framework for creating apps.
Installation
The simple installation is using the command:
npm install @cultjs/cult
Creating your app
Here is the code:
const cult = require('@cultjs/cult');
const app = cult.app({ port: 5000 });
app.on('server', (req, res) => {
if (req.url == '/') {
res.end('Hello!');
};
});
app.listen(() => {
console.log('App is listening to port ' + app.port + '!');
});
Old Version Use
Please don't use the first version of the package, you may experience extreme bugs or a lot of errors.
License
MIT