Skip to content

Instantly share code, notes, and snippets.

@soiqualang
Created October 12, 2022 02:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save soiqualang/5a3e7c261c9cd5f5e23aabf1c7362054 to your computer and use it in GitHub Desktop.
Save soiqualang/5a3e7c261c9cd5f5e23aabf1c7362054 to your computer and use it in GitHub Desktop.
Folder struct template

Directory & File Structure

.. code::
.
|-- angular_admin/
	|-- admin-lib/
	|-- backup/
	|-- img/
	|-- login/
	|-- logout/
	|-- quantri/
	|	|-- js/
	|	|	|-- cons.js	#declare some const
	|	|	`-- ...
	|	|-- modun/	#navbar, sidebar,...
	|	|-- page/
	|	|-- index - Copy.html	#original index
	|	`-- index.php
	|-- services/
	|-- check.php	#check login, load libs,..
	|-- index_2.php
	|-- README.md
	`-- t1.php

Page routing

Url Path Component Funtions
data items-list Show data list
data/:id/edit item-form Edit data
data/new item-form Create new data
... ... ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment