Giter Site home page Giter Site logo

xzzor / chinese-poetry-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thehumancomedy/chinese-poetry-website

0.0 0.0 0.0 642 KB

🗝 中华古诗数据库接口( Mongodb + Node.js + Redis + Nginx),接近 5.5 万首唐诗加 26 万宋诗,以及万余唐宋诗人。

License: MIT License

Shell 0.29% JavaScript 60.84% CSS 5.18% HTML 9.64% Vue 24.05%

chinese-poetry-website's Introduction

🚧 中华古诗数据库接口网

🗝 中华古诗数据库接口网( Mongodb + Node.js ),涵有近 5.5 万首唐诗、26 万宋诗,以及万余唐宋诗人;数据源于 chinese-poetry-zhCN;网站模板出自 docker-vue-node-nginx-mongodb-redis

Features

  • Powered by Vue2.* & Koa2.* & Mongodb & Nginx & Redis & Docker
  • Integrate Front-End, Back-End, Database into Docker
  • Rich features and constantly optimized design
  • Based on the awesome third-party libraries

Prerequisites

Node.js (>=6.x, 8.x preferred), Npm version 4+(Yarn preferred), Git, Mongodb, Nginx, Redis and Docker.

Getting started

# 🎉 clone the project
git clone https://github.com/TheHumanComedy/chinese-poetry-website.git
# ➕ install dependencies
cd chinese-poetry-website
yarn && yarn bootstrap

# 🚧 start developing
yarn start

# Or Run the following commands in the terminal two different TAB
cd client && yarn start
cd server && yarn start

Migrate Data

# download data souruce
git submodule update --init

# if you change the submodule url
# git submodule sync
# git submodule update --init --recursive --remote
cd data & yarn data:start

The program will automatically open http://localhost:8080/ for client and http://localhost:4000/ for server. Intelligently, it will specify the available port for you (incremental, eg: 8081 or 8082) if port 8080 is busying on your machine.

Deployment

# 🚀 deploy your client & server(local or server)
yarn deploy

# Or Run the following command at root directory
docker-compose up

Links

License

MIT

Copyright (c) 2018-present, 梅林横纵客.

chinese-poetry-website's People

Contributors

nicejade avatar unclebill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.