Coder Social home page Coder Social logo

aretecode / konsilos Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 6.26 MB

https://konsilos.com/welcome re-imagined

Home Page: https://konsilos.now.sh

License: MIT License

JavaScript 20.41% HTML 0.03% Dockerfile 0.64% Makefile 0.03% TypeScript 78.89%

konsilos's Introduction

Konsilos

A non-rofit organization. We created this with good intentions, to scratch our itch, hoping this also would benefit people all over the world.

features

  • deployment to serverless aws lamda (with ephemeral urls on every pr, and docker setup for custom deploys)
  • react SPA (using nextjs, also with service worker / offline support and lighthouse compliance)
  • oauth on subscribe button, with a SAAS authentication microservice (using auth2)
  • storybook for ui development velocity (aslso available on deployment)
  • graphql as a micro api connected to airtable (aslso available on deployment)
  • images via cdn with webp format (using sirv)
  • svg images (flags, icons, logo)
  • semantic html, seo including card previews minimal styles (using styled-components)
  • custom responsive css devices
  • typescript with all types passing, eslint, prettier, stylelint, editorconfig
  • unit testing with storybook snapshots, react-testing-library
  • i18n translation
  • app domain features
    • family: add & view family (using react hooks, graphql in progress)
    • advice: add & view advice (using react hooks, graphql in progress)

how to run

  1. use vscode (for the best experience)
  2. use nodejs 12.10.0 (or latest)
  3. npm i or yarn (install dependencies)
  4. go to env.js file to set your keys
  5. run app or storybook
  • yarn dev (app)
  • yarn dev:server (for using auth0 locally via custom next server)
  • yarn dev:storybook (storybook)

folder structure

  • /pages contains pages, and the nextjs specific _app & _document
  • /server nextjs server using expressjs, added so we can handle route for auth0/user-signin
  • /src all non page code
    • /components react components. each component SHOULD have:
      • NAME.test.tsx jest tests
      • NAME.story.tsx
    • /features react components same as ^, but with domain knowledge
    • /graphql graphql specific code (apollo, queries, mutations)
    • /utils utils that can be moved to separate packages
    • AppStyles styled components global styles
    • AppContext provided by pages/_app via nextjs, available to all components (things like url of the page)
    • typings typescript definitions

more scripts

more information

konsilos's People

Contributors

lfilho avatar aretecode avatar understood-devops-2 avatar cra2ycoder avatar leonardotq avatar maxopala avatar

Stargazers

Roman avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

konsilos's Issues

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.