Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingzez/search-engine-xls
Nuxtjs fullstack application with koa、redis、docker | a toy 🤪
https://github.com/kingzez/search-engine-xls
docker koa nuxtjs redis xlsx
Last synced: about 1 month ago
JSON representation
Nuxtjs fullstack application with koa、redis、docker | a toy 🤪
- Host: GitHub
- URL: https://github.com/kingzez/search-engine-xls
- Owner: kingzez
- Created: 2020-03-13T16:40:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T05:15:56.000Z (almost 2 years ago)
- Last Synced: 2023-02-28T04:26:18.597Z (over 1 year ago)
- Topics: docker, koa, nuxtjs, redis, xlsx
- Language: Vue
- Homepage:
- Size: 3.86 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Search Engine XLS
> search data from xls without db
## Feature
- 📃search from xls file without db
- ⚡speed up search with redis
- 📱support dark mode
- 🤟ssr with nuxt
- 🚀bff with koa
- 📦deploy with docker## Build Setup
``` bash
# install dependencies
yarn install# serve with hot reload at localhost:3000
yarn dev# build for production and launch server
yarn build
yarn start# generate static project
yarn generate
```## Docker Deploy
### Prepare
```bash
# create docker bridge network
docker network create app-net# pull redis image
docker pull redis# run redis
docker run -d --name redis --network app-net --restart always redis# pull image
docker pull ccr.ccs.tencentyun.com/nuxt/search-engine-xls:1.1.1# run app
docker run -d --name search-app --network app-net --link redis:redis -p 3000:3000 --restart always cr.ccs.tencentyun.com/nuxt/search-engine-xls:1.1.1# check server whether started
docker logs -f search-app
```### Build docker image
```bash
# build for production and docker image
make build# push docker image
make push
```