GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oywenjiao/node-restify-api: Restful API based on Restify module

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Centos Installation Node Environment.md
Centos Installation Node Environment.md
 
 
Module description.md
Module description.md
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

node-restify-api

Restful API based on Restify module.

Interface Call Concept: Single Entry.

Installation tutorial

1.Related plug-in installation

run npm install command.

2.Relevant Configuration Item Files

copy app->config Directory env.example by env.json

3.MySQL connection profile

copy app->database Directory db.xxx.js

Directory specification

1.directory structure

app: Project core

  • config: project configuration

  • database: database configuration

  • module: custom module

  • tool: tool library

  • version: Interface file version iteration

In the version directory, each application has its own model operation file, which is named model.
The model operation files in the model directory use the sequelize database operation framework

note:

There are two types of database configuration files in the database directory.

  • Native SQL configuration for files named db.*
  • Sequelize framework configuration for files named config.*

1-1.version Iterative sample specification:

  • Create the first version v1 directory.
  • Operating interfaces of different applications are stored in corresponding directories with the same name.
  • Storage of interface files by directory according to function points under application directory.

1-2.version Directory file description

  • login.js Token login registration file.
  • verify.js Token information validation file.

Interface example

1.Examples of native SQL operations:

Target path:app->version->v1->daily->user

About

Restful API based on Restify module

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.