Models and Project Structure - PMenezes/MyPortfolio GitHub Wiki

Models

  • Portfolio

    • Title
    • Author
    • Description
    • Projects
      • Title
      • Description
      • Context
  • User

    • Name
    • UserName
    • PassWord
    • Type
    • Profile
      • Description
      • Skills
        • Name

Project Structure

├── client

│ ├── app - All of our app specific components go in here

│ ├── assets - Custom assets: fonts, images, etc…

│ ├── components - Our reusable components, non-specific to to our app

├── e2e - Our protractor end to end tests

└── server

│ ├── api - Our apps server api

│ ├── auth - For handling authentication with different auth strategies

│ ├── components - Our reusable or app-wide components

│ ├── config - Where we do the bulk of our apps configuration

│ │ └── local.env.js - Keep our environment variables out of source control.

│ │ └── environment - Configuration specific to the environment the server is being run in

│ └── views - Server rendered views

This project structure follows the google guidelines for a fullstack application in AngularJs + NodeJs. With the help of Angular-Fullstack boilerplate we can simplify this work as it helps you to construct your project.