Skip to content

creal73/formation_project

Repository files navigation

Starter kit

Join the chat at https://gitter.im/thales-poles-ra/starter-kit

Web project starter kit including tooling, best practices and project seed.

It is based on our experience in large web projects, with architecture choices aiming for a clean, no-brainer development experience even for beginner teams.

Getting started

  1. Install required tools gulp and bower:
npm install -g gulp bower
  1. Install project tools, go to project folder:
npm install
  1. Launch development server:
gulp serve

Project structure

gulp/                   individual gulp tasks
sources/                project source code
|- data/                other project data, will be copied as-is
|- fonts/               project fonts
|- images/              project images
|- libraries/           bower dependencies
|- main/                main module, for entry points and global style
|  |- main.config.js    app configuration code
|  |- main.constants.js app configuration constants
|  |- main.module.js    main module definition
|  |- main.run.js       app entry point
|  |- main.wrappers.js  AngularJS module wrappers for external libraries
|  +- main.less         style entry point
|- modules/             project components and modules
|  |- helpers/          helper services
|  |- screens/          application screens
|  |- shell/            application shell
|  |- ui-components/    shared UI components
|  |- web-services/     web services
|  +- ...               additional project modules
|- translations/        translations files
+- index.html           html entry point
e2e/                    end-to-end tests
dist/                   compiled version
reports/                test and coverage reports + generated documentation
gulpfile.config.js      gulp tasks configuration

Main gulp tasks

Tasks Description
default run clean, then build
serve Launch a web server with live reload and API proxy, then open app in browser.
serve:dist Launch a web server using dist files.
build Build and optimize the current project, ready for deployment. This includes linting as well as image, script, stylesheet and HTML optimization and minification.
clean Delete temporary files and dist files.
test Launch unit tests using karma and jasmine.
test:auto Launch karma server and launch unit tests after each change in project files.
protractor Launch e2e tests using protractor.
docs Generate jsdoc documentation from sources.

Coding guides

Additional documentation

Features

Languages

Quality

Development

  • Automation with gulp
  • Development server with API proxy and live reload (BrowserSync)
  • JSDoc generation with angular support

Build

Libraries

Roadmap

See the wiki.

Credits

This starter kit was initially based on a seed generated by the gulp-angular Yeoman generator.

About

Solution for pratical work during angularJS trainings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published