Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📋 Namari website converted from HTML template to Angular

NotificationsYou must be signed in to change notification settings

AndrewJBateman/angular-website-example

Repository files navigation

  • Converts a free Namari HTML template to an Angular app
  • Note: to open web links in a new window use:ctrl+click on link

GitHub repo sizeGitHub pull requestsGitHub Repo starsGitHub last commit

📄 Table of contents

📚 General info

  • Includes code fromAdMISTER STUDIOs - see👏 Inspiration below, but with changes to reduce lines of code and use latest Angular version. Some of the videos listed below are not applicable as I decided to just reproduce the Namari website and not include a blog, user login/logoff, auth guard, separate API etc.
  • Angular feature modules used for organisational best practise
  • Single service used to fetch data for all pages so this data can be accessed from an API. This meant I could not use custom interface classes. Each module should have its own service with interface class.

📷 Screenshots

Example screenshot.

📶 Technologies

💾 Setup

  • Runnpm i to install dependencies.
  • Runng serve for a dev server.
  • Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files.

💻 Code Examples

  • shared/services/config.service.ts function to get data from API with inputs: database name and id
getSettings(database: string,id?:number):Observable<any>{let url=id?`api/${database}/${id}` :`api/${database}`;returnthis.http.get<any>(url).pipe(catchError(this.handleError(`Error getting data from${database}`,[])));}

🆒 Features

  • Lazy-load modules used for most pages to speed up initial rendering of home page

📋 Status & To-Do List

  • Status: Working
  • To-Do: Remove unused CSS. Create separate service for each module?

👏 Inspiration

📁 License

  • N/A

✉️ Contact

  • Repo created byABateman, email:gomezbateman@yahoo.com

About

📋 Namari website converted from HTML template to Angular

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp