@apacejs/cli

0.0.1 • Public • Published

@apace/cli

Introduction

quickly develop restful API use NodeJS.

Get Start

Step1

$ mkdir my-project && cd my-project 
$ npm init -y
$ yarn add @apace/cli

Step2

$ touch router.js

edit content

const express = require('express')
const app = express.Router()

app.get('/', (req, res) => res.json({ greet: 'hello Apace' }))

module.exports = app

Step3

$ npx apace dev

open browser and write: localhost:8000, then you will see a simple restful api.

Target

Someone told me: The best framework is just business code.

Readme

Keywords

none

Package Sidebar

Install

npm i @apacejs/cli

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

7.85 kB

Total Files

11

Last publish

Collaborators

  • dkvirus