This example project is depreciated. Use the newer Backand Angular JS2 example project. It uses the newest Backand Angular JS 2 SDK.
This project was generated with angular-cli version 1.0.0-beta.16.
To use the project with angular-cli, install it:
npm install -g angular-cli
Then install dependendencies with:
npm install
Uses angular2bknd-sdk
. See angular2bknd-sdk about required dependencies.
The app structure is the standard Angular JS 2 structure. The app code is the src
folder. The app starts AppModule
from app.modulet.ts
, and does a bootstrap of AppComponent
from app.componenet.ts
. The app uses a Router, and constructs the routes in app-routing.modules.ts
.
AppComponent shows a navigation bar, and using router-outlet
switches views.
Layout of app is done using SASS.
Using angular-cli, we generate screens with:
ng generate component my-new-component
Each screen forms a folder under src
with four files:
ts
- typescript componenthtml
- html templatescss
- SASS for styling of templatespec.ts
- tests
Sign in to Backand using username and password, or with anonymous token.
- Sign up to Backand
- Sign up using Facebook/Twitter/Google/GitHub
CRUD operation on your model in Backand
Including:
Get items Post items Filter items
Upload files to Backand storage