Skip to content

AMS777/ams-be

Repository files navigation

ams-be

This project is a quick-start boilerplate of the Javascript framework Ember.js to start a frontend project with the common functionality out of the box like main page layout, user management and forms validation.

It's recomended for API projects that implement the JSON API specification (http://jsonapi.org/).

ams-be is a frontend project that matches the backend project ams-bl developed with the PHP micro-framework Lumen and may be set up with the ams-bel architecture (though other backend and architecture may be used).

Features

  • User register.
  • User login.
  • User password reset with token.
  • Update user account.
  • Delete user account.
  • User email verification on register.
  • Contact form page.
  • Forms validation.
  • API error handling.
  • Material Design styling.
  • Header-body-footer page layout.
  • FAQ, Privacy and Terms pages and page footer links.

Technologies

Addons

Prerequisites

You will need the following things properly installed on your computer.

Install

Download or fork this project and take it as the starting point of your own project.

Install NPM packages:

$ npm install

Run Development Server

If you are running ams-be frontend with the development server of ams-bl as backend, first run the ams-bl server and then run:

  • ember serve --proxy http://localhost:8000

Usage

After creating your own project from this one, add your own files to the existing ones.

You can modify the existing files on the project you've created. The key files are located in:

  • tests/
  • app/components/
  • app/controllers/
  • app/models/
  • app/styles/
  • app/templates/

Code Generators

Make use of the many generators for code, try ember help generate for more details

Run Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Build

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links