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

  • App
  • Route
  • Service
  • Component
  • Controller
  • Decorator
  • Directive
  • Filter
  • Heroku
  • Openshift

This view

  • Original page
  • New address

GeezerVison is showing angular-fullstack.github.io — Endpoint

Fork the RepoFind HelpStack Overflow

Endpoint

Edit this Page   

Endpoint

Generates a new API endpoint.

Usage:

Usage:
  yo angular-fullstack:endpoint [options] <name>

Options:
  -h,   --help               # Print the generator's options and usage
        --skip-cache         # Do not remember prompt answers             Default: false
        --route              # URL for the endpoint
        --models             # Specify which model(s) to use            Options: mongoose, sequelize
        --endpointDirectory  # Parent directory for enpoints

Arguments:
  name    Type: String  Required: true

Example:

yo angular-fullstack:endpoint message
[?] What will the url of your endpoint be? /api/messages

Produces:

server/api/message/index.js
server/api/message/index.spec.js
server/api/message/message.controller.js
server/api/message/message.integration.js
server/api/message/message.model.js  (optional)
server/api/message/message.events.js (optional)
server/api/message/message.socket.js (optional)

Contributors

Get StartedOrganizationContribute
SupportChangelog
You are visitor 01402503 — 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.