Coder Social home page Coder Social logo

swallow's Introduction

Swallow

Powerful PWA CMS

Documents & References

Installation & Dependencies

Npm modules

$ ng add @angular/material $ npm install @angular/fire firebase --save $ npm i bootstrap

Setup

  • Add environment of your own with firebase configuration.

  • Environment

export const environment = {
  production: false, // production flag
  debug: true, // for debugging. Should be false on production site.
  firebase: { // firebase keys.
    apiKey: '-----------------------------------',
    authDomain: '-------------------------------',
    databaseURL: '------------------------------',
    projectId: '--------------------------------',
    storageBucket: '----------------------------',
    messagingSenderId: '------------------------'
  }
};

Resources

  • Angular materials
  • Angular fire
  • Bootstrap v4. Only utiltiy and grid of Bootstrap v4 is included. You can not use all of the bootstrap v4.

Run

ng s -c jaeho

Coding Style Guide

  • Follow Angular Coding Style Guide first. 100% Angular Coding Style Guide 를 따르고 본 지침을 따를 것.

  • Avoid writing css code by yourself. SCSS 코드를 작성하지 말고 디자인 할 것.

    • Use Bootstrap utility classes. Bootstrap 유틸리티 클래스 및
    • Or create your own utility classes. 직접 유틸리티 클래스를 작성해서 사용 할 것.
    • Follow SMACSS. SCSS 유틸리티 클래스를 작성할 때 SMACSS 를 따를 것.
    • Reason for this is to communicate with CSS code. 사유: CSS/SCSS 코드를 통해서 개발간의 의미 전달이 매우 어려움

Development Guide

Debugging

  • To enable debug mode, set debug to true on your environment.

  • In debug mode,

    • You can use a as app service instance in dev consloe.

Security Rules

  • To set firestore security rules, plesae run the following
firebase deploy --only firestore:rules

User authentication - Register, Login, Update

Database Struecture

Firestore admin structure

swallow/{domain}/settings/admin/{ email: 'admin email adress '}

Unit Testing

  • To do unit testing, inject SwallowTestService and call run() method.
constructor( private st: SwallowTestService) { st.run(); }

History

  • 2018-10-08 firebase cli and firebaes project has been added & initilized.
  • 2018-10-04 adding change module.
  • 2018-10-04 window[a] added in global.
  • 2018-09-28 firebase and angular fire aded.
  • 2018-09-27 Angular material and Bootstrap v4 added.

swallow's People

Contributors

thruthesky avatar junho7 avatar jjun75 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.