Skip to content

Client side file structure

dczarnota edited this page Sep 8, 2014 · 3 revisions
├── client
    ├── app              - All of our app specific components go in here
    │   ├── account         - Built with yeoman's angular-fullstack generator. Handles authentication.
    │   ├── admin           - Built with yeoman's angular-fullstack generator. Handles views associated with administration permission's Not yet used in this project
    │   ├── main            - Splash screen/homepage.
    │   ├── tours           - Overall tour list view, displays main components of each list sorted by rating and filtered by location as input in main splash page. Directed to here after splash page. 
    │       ├── createtour    - Form page that handles creating a new tour. Tours sub-view.
    │       ├── showtour      - Display page that shows specific information about a single tour clicked on in parent tour's view.
    └── assets        - Additional files
    │   ├── images         - Includes all images used.
    └── bower_components
    └── components
    │   ├── auth
    │   ├── modal
    │   ├── mongoose-error
    │   ├── navbar

Key Files

The following file paths are where you can get started working on the app. All of the files below have been edited by the Wanderlust team.

client/app/main

The files in here include the splash/home page.

  • main.controller.js
  • main.controller.spec.js (test file)
  • main.css
  • main.html
  • main.js

client/app/main/tours

The files in this folder display all the current tours.

  • tours.controller.js
  • tours.controller.spec.js (test file)
  • tours.css
  • tours.html
  • tours.js

client/app/main/tours/createtour

This folder contains the files for the create a tour feature of the app.

  • createtour.controller.js
  • createtour.controller.spec.js (test file)
  • createtour.css
  • createtour.html
  • createtour.js
  • wldSpot.directive.html

client/app/main/tours/showtour

This folder contains the files to display an individual tour.

  • showtour.controller.js
  • showtour.controller.spec.js (test file)
  • showtour.css
  • showtour.html
  • showtour.js

Clone this wiki locally