Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zrg-team/demo_frontend
https://github.com/zrg-team/demo_frontend
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zrg-team/demo_frontend
- Owner: zrg-team
- License: mit
- Created: 2019-11-24T05:36:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T17:09:24.000Z (over 3 years ago)
- Last Synced: 2023-03-02T11:46:01.239Z (almost 2 years ago)
- Language: JavaScript
- Size: 922 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Project for building front page base on [nextjs](https://nextjs.org/)
We focus on:
+ Server side render, better for SEO
+ Same source structure with admin application
+ Easy to develop and expand
+ Easy to handle error and finding problems
+ Worked properly event no-network
+ Enhance user experience by cached user data
+ etc## Structure
public: base html, logo
pages: frontend page
src: source code
+ assets: assets used by website, like image, json, etc
+ common: common component and feature which can reuse by another module
+ configs: configs server, contract, etc ,...
+ modules: website make up by a lot of module: user, home, etc. It make simpler to develop and easier finding problems.
## Common Features
+ Route system: handle application route and support page change event
+ Persist system: user data like user, etc will be cached ( make sure app can work event no-network and enhance user experience )
+ State management
+ Support authentication fetch, JWT