Coder Social home page Coder Social logo

ruiduobao / casdoor-raw-js-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from casdoor/casdoor-raw-js-example

0.0 1.0 0.0 248 KB

Casdoor example for vanilla HTML + JS +CSS websites

Home Page: https://github.com/casdoor/casdoor-js-sdk

License: Apache License 2.0

JavaScript 49.19% HTML 50.81%

casdoor-raw-js-example's Introduction

casdoor-raw-js-example


This is an example on how to use casdoor-js-sdk without framework. We will show you the steps below.

What you need prepare

The Casdoor should be deployed.

โ€‹ You can refer to the Casdoor official documentation for the install guide . Deploy the casdoor instance in production mode.

โ€‹ After a successful deployment, you need to ensure:

  • Open your favorite browser and visit http://localhost:8000 , you can see the login page of Casdoor.
  • Input admin and 123 to test login functionality is working fine

Start

get this example

# by ssh 
git clone [email protected]:casdoor/casdoor-raw-js-example.git
# by https
git clone https://github.com/casdoor/casdoor-spring-boot-example.git

use it

# enter the example in your file directory 
cd casdoor-raw-js-example
# enter the src directory and install the package
cd src
npm install 
# run the server
npm start

If there is no problem in above steps , you can see the terminal console : server listen at http://localhost:5000

You can press Ctrl+C and click this link , or input it to your browser.

Finally, it runs in your browser look like below gif represented.

screenshot

casdoor-raw-js-example's People

Contributors

hsluoyz avatar kcfuler avatar

Watchers

 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.