1.2.9 • Published 2 years ago

cocasus v1.2.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Cocasus

Cocasus is a simple, fast, and powerful web framework for Javascript.

const cocasus = require('cocasus');

const coca = new cocasus();

coca.route('/', (req, res) => {
  res.send('Hello World!');
});

coca.start();

Installation

This framework is available through the npm registry.

Make sure to install Node.js first.

Then create a new project with following command:

npm init

You can now install cocasus

npm install cocasus

Initialization

Cocasus is a framework with a precise architecture. To make sure to have a clean environment initialize the project with the following command:

# Existing project
cocasus init

# Override all files if necessary
cocasus init --force

# Initialize the project directly with npx
npx cocasus init

Features

  • Robust routing
  • The performance of express
  • The power of sequelize
  • Easy to use
  • Migrations
  • Logging
  • Models
  • Controllers

Documentation

All the detailed documentation can be found on the Documentation