Code Monkey home page Code Monkey logo

kratos-selfservice-ui-go's Introduction

kratos-selfservice-ui-go

ORY Kratos Self-Service UI written in golang 1.16.

A self service UI for Kratos based on the NodeJS version but written in go 1.16.

The application provides the following self service UI pages:

  • Registration
  • Login
  • Logout
  • User settings
    • Update profile
    • Change password
    • Password reset

and then once logged in provides the following additional page:

  • Dashboard

Quickstart

  • Start docker
  • Run make quickstart to run the systems in docker compose
  • open http://127.0.0.1
  • Because you are not logged in you will be taken to the login page by default

Cypress tests

The following steps show you how to run individual cypress tests interactively, using the cypress UI.

  • In one terminal run make quickstart
  • In another run make cypress, and then choose the tests to run.

Tailwind CSS

To create the initial css file:

nvm use
npx tailwindcss-cli@latest build -o static_src/css/tailwind.css

Static assets served via HashFS that appends hashes to embedded static assets for aggresive HTTP caching.

Icons

Icons from Bootstrap

Stimulus JS

  • See Reference
  • Used to show/hide the mobile menu when clicked

TODO

  • Add gzip middleware
  • Fix traefik warnings "level=warning msg="Could not find network named 'internal' for container '/kratos-selfservice-ui-go_kratos-selfservice-ui-go_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." container=kratos-selfservice-ui-go-kratos-selfservice-ui-go-2fd978669efd2f580e1ac7fcb67271ea7d966fbcdc75a2498c15786af0ff702d serviceName=kratos-selfservice-ui-go-kratos-selfservice-ui-go providerName=docker"

kratos-selfservice-ui-go's People

Contributors

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