0.0.1 • Published 6 years ago
@apacejs/cli v0.0.1
@apace/cli
Introduction
quickly develop restful API use NodeJS.
Get Start
Step1
$ mkdir my-project && cd my-project
$ npm init -y
$ yarn add @apace/cliStep2
$ touch router.js
edit content
const express = require('express')
const app = express.Router()
app.get('/', (req, res) => res.json({ greet: 'hello Apace' }))
module.exports = appStep3
$ npx apace devopen browser and write: localhost:8000, then you will see a simple restful api.
Target
Someone told me: The best framework is just business code.
0.0.1
6 years ago