Git Product home page Git Product logo

cycle's Introduction

Getting Started

First, run the development server:

npm install
npm run dev

Then open http://localhost:3000

Bootstrap

Used nextjs. This is my go-to framework when I need to quickly setup a react project.

Data and schemas

All the data and schemas are in ./pages/api/. Boards share the same initial mocks, so a doc added in a pre-defined group will be also displayed on an other board.

New group will be added normally on the current board.

Local state

I used apollojs built-in local state. In instance the collapsed state of the sidebar is defined in ./cache.ts as reactive variable, and setup in the AppolloClient (./pages/_app.tsx).

Theming

Even thow it was a nice to have, I can't work without a theme. Related files are located in ./styled.d.ts and ./theme.ts. The tokens were inspired by stitches, which also follows https://system-ui.com/theme/ conventions.

Issues

  • You may experience issues when navigating on the board: it can display a not found, even though the id exists in the mocks. It is expected after a hot-reload as I use uuid's. But it can also happen even if no files were changed. A full refresh from the home or another page should fix it.

cycle's People

Contributors

hrasoa avatar

Watchers

 avatar  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.