Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

.git started

JAG edited this page Sep 30, 2017 · 2 revisions

Repository

URL: https://github.com/light-the-way/website

Branches

Remember pull before push.

Authorization required on pull request.

master - Working Always & for deployment

hotfix-* - Severe Security/Bug Issue

dev - Work in progress

Authorization !required

<feature> - Feature being worked on from sprint board on Trello.

temp-* - Temporary branch for ideas or break things.

Workflow

heroku - Host of what's currently live.

master - This branch is always 100% ready for deployment & release.

dev - This branch is being merged with features or fixes from master.

feature - This is the centralize branch where all test must pass and a pull request starts from to dev.

feature-task - This branch is for a developer to work in and store code to have zero risk of losing code.

Not of Feature

hotfix-* - This branch made from master to add a hotfix for security or bug.

releases-* - This isn't a branch but is created from the master via the github release tool.

Project Layout

Definition

FE - Front End BE - Back End

Folders

/config - (BE) Contains configurations used by the project at server start.

/modules - (FE,BE) Contains the majority of project files.

      core/ - Project core settings along with the home view.

      <feature_name>/ - Folders holding features that can be generated with yo generator.

            client/ - Front End files served to client.

            server/ - (BE) API, models, & policies files contained here.

            tests/ - e2e, client and server testing files go here.

/public - (deploy) After building a project it's populated into this folder for deployment.

/resources - (*) Contains useful resources & Adobe XD files.

/scripts - (BE)

Folder Structure

+---config
|   +---assets
|   +---env
|   +---lib
|   \---sslcerts
+---modules
|   +---core
|   |   +---client
|   |   |   +---app
|   |   |   +---config
|   |   |   +---controllers
|   |   |   +---css
|   |   |   +---directives
|   |   |   +---img
|   |   |   |   +---brand
|   |   |   |   \---loaders
|   |   |   +---services
|   |   |   |   \---interceptors
|   |   |   \---views
|   |   +---server
|   |   |   +---controllers
|   |   |   +---models
|   |   |   +---routes
|   |   |   \---views
|   |   \---tests
|   |       +---client
|   |       |   \---interceptors
|   |       \---server
|   +---resources
|   |   +---client
|   |   |   +---config
|   |   |   +---controllers
|   |   |   +---css
|   |   |   +---directives
|   |   |   +---filters
|   |   |   +---img
|   |   |   +---services
|   |   |   \---views
|   |   +---server
|   |   |   +---config
|   |   |   +---controllers
|   |   |   +---models
|   |   |   +---policies
|   |   |   \---routes
|   |   \---tests
|   |       +---client
|   |       +---e2e
|   |       \---server
|   +---searches
|   |   +---client
|   |   |   +---config
|   |   |   +---controllers
|   |   |   +---css
|   |   |   +---services
|   |   |   \---views
|   |   +---server
|   |   |   +---config
|   |   |   +---controllers
|   |   |   +---models
|   |   |   +---policies
|   |   |   \---routes
|   |   \---tests
|   |       +---client
|   |       +---e2e
|   |       \---server
|   \---users
|       +---client
|       |   +---config
|       |   +---controllers
|       |   |   +---admin
|       |   |   \---settings
|       |   +---css
|       |   +---directives
|       |   +---img
|       |   |   +---buttons
|       |   |   \---profile
|       |   |       \---uploads
|       |   +---services
|       |   \---views
|       |       +---admin
|       |       +---authentication
|       |       +---password
|       |       \---settings
|       +---server
|       |   +---config
|       |   |   \---strategies
|       |   +---controllers
|       |   |   \---users
|       |   +---models
|       |   +---policies
|       |   +---routes
|       |   \---templates
|       \---tests
|           +---client
|           +---e2e
|           \---server
+---public
|   +---dist
|   \---lib
+---resources
\---scripts

Clone this wiki locally