Skip to content

apacejs/apace-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@apace/cli

Introduction

quickly develop restful API use NodeJS.

Get Start

Step1

$ mkdir my-project && cd my-project 
$ npm init -y
$ yarn add @apacejs/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.

About

quickly develop restful API use NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published