All Projects → lordfriend → Deneb

lordfriend / Deneb

Licence: MIT License
A web client for https://github.com/lordfriend/Albireo

Programming Languages

typescript
32286 projects
HTML
75241 projects
Less
1899 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Deneb

Library
Online Library Management. User can search, check in, checkout book. System adds fines automatically if the book is not checked in by due date
Stars: ✭ 27 (-10%)
Mutual labels:  angular8
GPS-Mobile-Tracking-App
Angular 9.0 HTML Bootstrap NodeJS and MYSQL App - Store GPS Mobile Browser Location
Stars: ✭ 32 (+6.67%)
Mutual labels:  angular8
ui
UI for Mainflux IoT platform
Stars: ✭ 73 (+143.33%)
Mutual labels:  angular8
Angular-Reactive-Demo-Shop
Angular Demo Shop
Stars: ✭ 79 (+163.33%)
Mutual labels:  angular8
angular-code-input
Code (number/chars/otp/password) input component for angular 7, 8, 9, 10, 11, 12+ projects including Ionic 4, 5 +
Stars: ✭ 112 (+273.33%)
Mutual labels:  angular8
ThinkApp
Test your knowledge with any of the available topic this fun and free Champion Quiz Master App. Save your time and effort by saving your queries & its resolutions
Stars: ✭ 15 (-50%)
Mutual labels:  angular8
cms-fe-angular8
A Content Management System with Angular8, UI use Ant-Design(ng-zorro-antd)
Stars: ✭ 65 (+116.67%)
Mutual labels:  angular8
angular-progress-bar
This component allow you to easy incorporate progress-bar to angular/ionic project, providing binding and color options
Stars: ✭ 26 (-13.33%)
Mutual labels:  angular8
angular-8-boilerplate
Angular 8 Boilerplate with bootstrap
Stars: ✭ 23 (-23.33%)
Mutual labels:  angular8
Mehul.Kothari
mehul-kothari.vercel.app/
Stars: ✭ 47 (+56.67%)
Mutual labels:  angular8
ng-thingsboard
Angular 8 Thingsboard UI
Stars: ✭ 27 (-10%)
Mutual labels:  angular8
ionic4-angular8-crud-mobileapps-example
Ionic 4 Angular 8 Tutorial: Learn to Build CRUD Mobile Apps
Stars: ✭ 20 (-33.33%)
Mutual labels:  angular8
angular-8-alert-notifications
Angular 8 - Alert (Toaster) Notifications
Stars: ✭ 32 (+6.67%)
Mutual labels:  angular8
angularx-qrcode-sample-app
Angular5/6/7/8/9/10+ sample apps with working implementations of angularx-qrcode
Stars: ✭ 15 (-50%)
Mutual labels:  angular8
spring-boot-mongodb-security-angular8
Spring Boot, Security, MongoDB, Angular 8: Build Authentication
Stars: ✭ 17 (-43.33%)
Mutual labels:  angular8
Angular-Table-Sort-Component
Sorting Algorithm for sorting table values in angular
Stars: ✭ 18 (-40%)
Mutual labels:  angular8
angular-material8-custom-theme
Angular Material 8 Custom Theme - Learn to create Angular Material 8 custom theme from scratch in less than 5 minutes in an Angular 8 project.
Stars: ✭ 16 (-46.67%)
Mutual labels:  angular8
angular-8-jwt-authentication
Demo project for Angular 8 JWT Authentication with HttpInterceptor and Router
Stars: ✭ 36 (+20%)
Mutual labels:  angular8
angular-animations
A sample application exploring the Angular animations module using Angular 8
Stars: ✭ 19 (-36.67%)
Mutual labels:  angular8
teanjs
🔥 TypeORM - Express - Angular 8 - NestJS Server Side Rendering (SSR) 😺
Stars: ✭ 62 (+106.67%)
Mutual labels:  angular8

Web App client for Albireo

Building requirements

Nodejs 12.0 and above, npm 3 and above, Yarn (I recommend this package manager to manage npm packages)

Development

Clone this repo, install dependencies

cd Deneb
yarn install

Copy config/dev.proxy.js.example to config/dev.proxy.js, If your backend server is running on a different host, you need update the target to your backend host

once npm installation is done, using npm script to run some task, all script can be found in package.json

to start up an dev server, run npm start in current directory.

the backend server aka Albireo server must be started. see the readme of that project.

Deployment

To deploy on production server, a compiled and minfied bundle is needed, to build this project, just run the following command.

export SITE_TITLE="Your site name"
export GA="You google analytics Tracking ID" # if you want to use google analytics, export this environment variable.
export CHROME_EXTENSION_ID=your chrome extension id # when you want user to bind Bangumi account, you should publish Sadr project for your domain, and give the id here.
npm run build:aot:prod

After building process finished, you will have a dist directory in your project root. copy this project to your static file server.

Nginx Configuration for SPA

To support SPA which using HTML5 History API. there are a little configuration need be done in Nginx or other your HTTP static server. Here we will demonstrate with Nginx.

You can also see other reference for this common case: https://www.linkedin.com/pulse/decouple-your-single-page-app-from-backend-nginx-tom-bray

You need fallback all request except the path start with /api to /index.html which will make the SPA be able to handle the route in browser.

location / {
    try_files $uri $uri/ /index.html;
}

# Proxy requests to "/auth" and "/api" to the server.
location /api {
    proxy_pass http://application_upstream;
    proxy_redirect off;
}

Image Resize service

From 1.1.0, we support responsive image feature which will request a resize image by appending query string ?size={width}x{height}. This will significantly reduce the network usage and increase the loading performance.

We assume the image service support the following method:

  • size={width}x{height} will return a image in dimension of {width}x{height} which is a resize version of original image.
  • size={width}x0 will return an image with a resize width but keeping the ratio of height.
  • size=0x{height} will return an image with a resize height but keeping the ratio of width.
  • without size query string will return the original image.

To support this feature, we use Picfit and some nginx configuration.

But this is not a part of this project, you need to setup your own image service.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].