Giter Club home page Giter Club logo

tuna's Introduction

tuna

庄周吃鱼,利用 AI、大数据、云计算、区块链等技术,解决 X 条件下如何选择 Y 的问题。

当然,以上都是噱头,主要是为了解决中午吃什么的问题,可根据自己的爱好定制食谱。

摇一摇得出你此刻的食谱,如有多人同时摇再根据摇中食谱中的石头、剪刀、步确定胜负。

本地开发

本项目使用 React 开发,需要本地安装 Node 20 以上版本。

# 安装依赖包
npm install
# 启动项目
npm start

概念介绍

Recipe,食谱,一个食谱就是一组规定好的 Api,确定基于哪些条件摇出什么样的结果。举例如下。

  • 干不干:这里有硬币的正反面,只能得出一种结果。顺便说明一下,再摇 10 次也是这个结果。
  • 中午吃什么:基于食谱菜单选出一种组合,如果需要可能附带下午茶。
  • 周末去哪玩:五棵松方圆 10 公里的公园应该去哪一个。
  • 宝宝吃什么:基于(你或网友)精心收集的宝宝餐,根据当前时间,确定现在适合吃哪几种。友情提醒宝宝适合一日多餐,且需自行把控菜单列表。

所以你懂了,你应该 fork 此项目定制自己的食谱。

定制自己的规则,请实现以下 API:

  • catalog
  • recipes

TODO

  • 首页体验优化
  • 代码风格统一
  • 插件化开发,每个人可完全自定义实现

项目宗旨

有所为,有所不为。

License

Licensed under Apache-2.0.

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.