0.5.1 • Published 10 years ago

generator-ng-admin-postgrest v0.5.1

Weekly downloads
5
License
BSD-2-Clause
Repository
github
Last release
10 years ago

ng-admin PostgREST Generator

Yeoman generator for ng-admin + PostgREST.

Scaffold an ng-admin web application generated on an existing PostgreSQL database exposed via PostgREST.

ng-admin PostgREST Generator explore your PostgreSQL database, detecting tables and automagically generate ng-admin entities.

Usage

Download PostgREST

Install yo, grunt-cli, bower, generator-ng-admin-postgrest:

npm install -g yo grunt-cli bower generator-ng-admin-postgrest

Make a new directory, and cd into it:

mkdir my-new-project && cd $_

Run yo ng-admin-postgrest, optionally passing an app name:

yo ng-admin-postgrest [app-name]

Generator will ask you:

  • database connection
  • which entities generate
  • postrest configuration
  • http server configuration

Start the http and postgrest server for preview.

grunt
grunt serve

Structure

The application structure follow the official Yeoman generator-angular

├── bower.json
├── Gruntfile.js
├── package.json
├── postgrest.json
├── app
│   ├── index.html
│   ├── app.js
│   ├── favicon.ico
│   ├── scripts
│   │   ├── entities
│   │   │   ├── <entity 1>.js
│   │   │   ├── <entity 2>.js
│   │   │   ├── <entity 3>.js
│   │   ├── ng-admin-postgrest
│   │   │   ├── config.js
│   │   │   ├── provider.js
│   │   ├── styles
│   │   │   ├── main.scss

Requirements

a PostgresQL database with a user credentials for access information_schema catalog

Credits

License

BSD license Copyright (c) Michele Lazzeri

0.5.1

10 years ago

0.5.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago