Kasky

Kasky

  • Documentation
  • GitHub

›Getting Started

Getting Started

  • Installation
  • Creating your First Project
  • Running your Project

Next Step

  • Controllers
  • Routing
  • Middlewares

References

  • Request
  • Response
  • @Controller()
  • @Route.<HTTP_METHOD>()

Creating Your First Project

After installing kasky globally, it's time to create your first project.

Step 1

Use the command below to create a new project.

$ kasky init your_project_name

The above command will create a new folder named your_project_name in the current working directory with some files and folders created inside it. Below is what the folder structure of the new created your_project_name folder will look like:

|__your_project_name
|  |__src
|  |  |__middlewares
|  |  |__controllers
|  |__jsconfig.json
|  |__.gitignore
|  |__package.json
|  |__app.config.json

Step2

Navigate into your project folder.

$ cd your_project_name

Step 3

Install project dependencies

Using npm:

$ npm i

Using yarn:

$ yarn
← InstallationRunning your Project →
Kasky
Docs
Getting StartedGuidesAPI Reference
More
GitHubStar
Copyright © 2019 Kasky