Code Monkey home page Code Monkey logo

kwai-ui's Introduction

Kwai-ui is superseded by kwai-vite. Kwai-vite builds on the experencies we have learned here, but uses vite instead of webpack.

Kwai-ui

Kwai-ui is a part of the kwai system. The ultimate goal of Kwai is to manage a (sports)club. The focus is currently on judo sport (Kwai means club in Japanese), but in the future it may be possible to support other sports.

The backend (api) of kwai can be found in the kwai-api repository.

Kwai is a greenfield project. As long as there is no official release, everything can change. Although there is still a lot to do, kwai is already used in production for our club but that is no guarantee that it will work for you...

UI

Kwai UI is a Single Page Application (SPA) written with vue and tailwindcss as the main components.

Currently, the following is available:

  • news
  • pages
  • members
  • teams
  • trainings

TODO

There is still a lot to do:

  • tournament management
  • member follow-up system
  • events
  • Separate club specific information
  • ...

Installation

Clone this repository. Copy the kwai.dist.js file to kwai.production.js or kwai.development.js and change the configurations.

Make sure package manager npm is installed and run the following commands in the directory where you cloned the repository:

npm install

To create a build (production build) run:

npm run build

To create a development version run:

npm run dev

The result is a build directory. Copy this directory with all its contents to your webserver.

vagrant

Vagrant can be used to set up a test environment. Before start, use kwai.development.yaml to configure the location of the folder of the custom HTML and images. For example:

---
custom: '/development/code/kwai-custom'

This vagrant box contains only the client code. Make sure kwai-api is also available (and configure CORS).

When the box is up and running, use vagrant ssh KWAI_UI to enter the server. Change the current folder to /vagrant and run npm run dev to build the client application.

Customize

In several places it is possible to add custom HTML. Each application can be customized. Create a folder and make sure the configuration file contains the custom property.

  • footer.html will be loaded as footer on each page.

portal

Portal is the home page.

  • /portal/header.html will be loaded between the toolbar and the overview of the application.
  • /portal/about.html will be added to the bottom of the portal page.

Credits

kwai-ui's People

Contributors

dependabot[bot] avatar fbraem avatar

Watchers

 avatar

Forkers

dregondrahl

kwai-ui's Issues

Use vue 3

Switch from vue-composition to vue 3

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.