1 Star 0 Fork 0

Abel / micro-fun-rick-and-morty

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Rick & Morty Directory

4 find TODO's search entire codebase: TODO: @cagataycali

Roadmap

  • Write tests for character component fetch (jest.spyFetch)
  • Write tests for Episode/Location renderLoadMoreButton
  • Add infinitive scroll instead of button.
  • Write tests for infinitive scroll
  • Write tests for loadMore
  • Prepare a pm2 starter for just POC purposes or just bash script to setup locally.
  • Dockerize each project (staged dockerfiles for cache usage)
  • Heroku || vercel deploy's
  • Create .gitlab-ci.yml for each project (only changes deploys)
  • Create .github/workflows/composer.yml for composer
  • Create .github/workflows/fragment.yml for fragments
  • Create deployment.yml with HPA and service.yml for k8s. (NodePort for each)

Changelog

**commit 3abe77f20331ffdd7113f7d2efa818b99bb5984c**
Author: cagataycali <cagataycali@icloud.com>
Date:   Tue Mar 30 02:19:40 2021 +0300
🎉  Init codebase

initial version of ui

Start Locally

./bootstrap.sh # this code will open http://localhost:8000 which is composer after compile.

Micro Frontend Fun (Not blazing fast)

This project is a template for your next micro-frontend project.

Example usage:

https://github.com/cagataycali/micro-fun-example

Usage of template

git clone git@github.com:cagataycali/micro-fun.git

Scaffold a boilerplate for micro fragment

FUN_FRAGMENT_NAME=Header FUN_PORT=3000 ./copy.sh header
FUN_FRAGMENT_NAME=Footer FUN_PORT=3001 ./copy.sh footer
FUN_FRAGMENT_NAME=Avatar FUN_PORT=3002 ./copy.sh avatar

./install.sh header
./install.sh footer
./install.sh avatar

Start

./start.sh footer # in first terminal
./start.sh header # in second terminal
./start.sh avatar # in third terminal

# Edit composer project for concatenate project (uncomment examples.)
cd composer
yarn dev
MIT License Copyright (c) 2021 ./c² Cagatay Cali 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.

简介

暂无描述 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/bbat/micro-fun-rick-and-morty.git
git@gitee.com:bbat/micro-fun-rick-and-morty.git
bbat
micro-fun-rick-and-morty
micro-fun-rick-and-morty
master

搜索帮助