Giter Site home page Giter Site logo

chatons-front's Introduction

Angular Chatons project

A project chatons built with Angular.

Be careful, this chatons has a strong dependency with Angular, you should read the docs before starting.

Table of content

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Go to deployment section for notes on how to deploy the project on a live system.

This project chatons provides an Angular skeleton app that you can extends to build your own app. It also provide some reusing components and providers to help you building an app faster.

Prerequisites

  • npm

    Needed to install Javascript dependencies.

Installing dependencies

At the root directory of the chatons, run :

npm install

Run

At the root directory of the chatons, run :

npm start

Internally, the NPM command will launch the ng serve command.

Overview

Base project structure

|-- node_modules/          --> Javascript dependencies installed from NPM
|-- src/                   --> Sources files root directory
    |-- app/               --> Modules files root directory
        |-- bootstrap/       --> Bootstrap Component
        |-- modules/       --> Module
        |-- app.module.ts  --> App module (first loaded module by the Angular app)
    |-- assets/            --> Assets directory (images etc...)
    |-- environments/      --> Application environments files
    |-- scss/              --> Global SCSS files
    |-- index.html         --> HTML entry point
    |-- main.ts            --> Angular entry point
    |-- test.ts            --> Angular testing entry point
    |-- polyfills.ts       --> Polyfills
    |-- tsconfig.json      --> Application typescript config
    |-- tsconfig.spec.json --> Application typescript config in test env.
|-- .gitignore
|-- .prettierrc
|-- angular.json          --> Angular config
|-- package.json
|-- package-lock.json  
|-- tsconfig.json          --> Parent typescript config
|-- tslint.json            --> TSlint configuration file

Build

At the root directory of the chatons, run :

npm run build

Internally, the NPM command will launch the ng build command.

Will produce the built files in the build directory.

Automated NPM tasks

All the following tasks must be ran at root directory of the chatons.

Checking code style

npm run style

Using Codelyzer.

Generate documentation

npm run doc

Using Compodoc, configured to run in the src directory. Will generate the HTML documentation in the documentation directory.

Deploy

npm run prestart

Install dependencies and build project and documentation

npm run deploy

Generate docker image according to Dockerfile and create container based on previous image created

chatons-front's People

Contributors

alexandre83 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.