Skip to content

mystackbox/prj-angular-masterpage

Repository files navigation

Angular Masterpage

Table of contents

Introduction

A mobile-friendly angular 2+ website developed using latest web development technologies such as HTML5, CSS Grid-layout and Flexbox models, together with the implemetation of Angular concepts such as Lazy-loading, SSR, to enhance the performance and search angine optimization.

Back to top

Environment

  • Operating System - Windows 11 x64
  • Angular CLI - v19.2.7
  • Visual Studio Code
  • Node.js - v20.11.1
  • GitHub & Git Bash
  • Angular DevTool
  • Postman

Back to top

Tech stack

  • Responsive Web Design ( HTML5 | SCSS | Grid Layout | Flexbox model | Bootstrap5 | Toggle theme ).

  • Angular/Typescript framework - v18.2.11

    • Stand-alone Approach (not module-based)
    • Angular Routing:
      • Child routes
      • Lazy-loading
    • SEO (Angular Universal | Title Interface | Meta Interface)
  • Features:

    • Toggle themes (Dark vs Light)
    • Validated submission form (email integrated)

Back to top

How to run the application

1. Installation

Ensure that you have following items are installed in your computer:

  • Visual Studio Code
  • Node.js
  • Angular CLI

2. Clone GitHub repository

Clone the project from Github repository into your local repository: [ Vehicle Tracking System ](https://github.com/mystackbox/prj-Mabunda Group). For more information about how to clone the GitHub repository, see Cloning GitHub repository.

3. Update Google Maps API Key

Ensure that your in possession of Google Maps API Key. Open index.html in the source directory of the project and replace YOUR_API_KEY with your Google Maps API Key.

 <script async src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&loading=async&callback=Function.prototype&v=weekly"></script>

4. Start the Localhost server

Run the following command in your CLI to install all the rrequired packages:

npm install

Run the following command in your CLI to start the localhost server.

ng serve

Once the localhost server is running, navigate to http://localhost:4200/ or copy/paste http://localhost:4200/ in your browser address-bar, then press enter.

Back to top

Issues

  • The application uses Google Maps services which requires the APK Key. This means that you will to have a Google Maps API Key for Google Maps to launch.
  • Unit Testing has not been implemented yet.

Back to top

References

Back to top

Licence

MIT License

Copyright (c) 2024 | Yingisani

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE..

Back to top