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: 2 months 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 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T05:15:56.000Z (over 3 years ago)
- Last Synced: 2025-01-23T12:46:22.023Z (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
```