@apacejs/cli
v0.0.1
Published
quickly write restful-api server
Downloads
5
Readme
@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.