Git Product home page Git Product logo

loginradius / engineering-blog-samples Goto Github PK

View Code? Open in Web Editor NEW
253.0 16.0 382.0 5.49 MB

Code samples of LoginRadius Engineering Blog

Home Page: https://www.loginradius.com/engineering/blog

License: MIT License

JavaScript 17.38% HTML 5.20% Go 2.71% TypeScript 11.78% CSS 1.48% Dockerfile 0.09% SCSS 2.33% Shell 0.05% Python 7.63% Jupyter Notebook 30.62% Objective-C 3.81% C# 1.22% EJS 4.55% Vue 0.38% Solidity 1.32% PHP 0.73% Kotlin 0.03% Swift 0.09% Dart 6.85% Svelte 1.75%
nodejs javascript passportjs express ejs ejs-templates ejs-express authentication

engineering-blog-samples's Introduction

Code Samples of LoginRadius Engineering Blog

Table of Contents

About Repository

Engineers at LoginRadius are not limited to develop, test, deploy, and maintain the LoginRadius Identity Platform. They are also highly motivated to build and learn something new every day.

As a part of our Giving Back To Community initiative, we aim to share the same with the developers worldwide via our Engineering Blogs.

This repository contains the sample code used in the engineering blogs written for the initiative mentioned above.

About LoginRadius

LoginRadius empowers businesses to deliver a delightful customer experience and win customer trust. Using the LoginRadius Identity Platform, you can offer a streamlined registration and login processes while protecting customer accounts and complying with data privacy regulations.

How to Use

First, clone this repository to your desired location in the PC using the following command :

git clone https://github.com/LoginRadius/engineering-blog-samples.git

The root folder contains the language specific folder for code samples. You can browse to particular directory and access the code sample as per your need

For example

cd Deno

This command in the terminal would open the Deno folder and list all the subfolders. This is where you can find a number of project samples.

Now, if you want to check with sample how to create Rest API in Deno, please move to that directory :

cd  RestAPIWithDeno

Here you can find the instructions to run that sample project in Deno.

License

License: MIT
Engineering Blog Samples is under the MIT License

engineering-blog-samples's People

Contributors

ahsankhan26 avatar akash-patil avatar akshay-js avatar aman-agrwl avatar babatunde13 avatar belelaritra avatar dev-tayy avatar dingusagar avatar divofred avatar eaglewarrior avatar ericbriananil avatar fuzzysid avatar gabrielrab avatar govindmalviya avatar hemant404 avatar icode247 avatar mohammed786 avatar nefejames avatar ninjavin avatar puneetsingh24 avatar raghunath-r-a avatar remigathoni avatar rjn01 avatar tanvijn avatar uma-victor1 avatar vyasriday avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

engineering-blog-samples's Issues

Just a question

<script>
    console.log($);
    alert($.capital("hridayesh"))
    $.addDOMContent("It works I think!!!")
  </script>

Indeed, that works fine. But I'm wondering, how it would have to look like, if I externalize this functionality into a separate module "index.js" at the "index.html" directory level.

I can't make the import run. Could you elaborate please?

index.js:

import capital from './dist/index_bundle.js'
alert(capital("hridayesh"))

First attempt:

index.html:

    <script src="dist/index_bundle.js"></script>
    <script src="index.js"></script>
    <!-- <script>
      console.log($)
      alert($.capital("hridayesh"))
      $.addDOMContent("Well It Works Fine!!!")
    </script> -->

Browser error:

Cannot use import statement outside a module

Second attempt:

index.html:

    <script src="dist/index_bundle.js"></script>
    <script type="module" src="index.js"></script>
    <!-- <script>
      console.log($)
      alert($.capital("hridayesh"))
      $.addDOMContent("Well It Works Fine!!!")
    </script> -->

Browser error:

The requested module './dist/index_bundle.js' does not provide an export named 'default'

lang attribute in HTML Tag.

You should have a language attribute in all HTML pages.

<!DOCTYPE html>
<html lang="en">
.
.
.
</html>

According to the W3C Standards Always declare the default language for text in the page using attributes on the HTML tag.
Read more here

multiple typos in readme.md

search for 'respository', 'langauge', and 'partciular' in README.md file.
Raising and fixing during hacktoberfest'2020.

Cannot connect to db

Getting error message: An error occurred: connect ECONNREFUSED ::1:27017 when attempting to execute code

Facebook Oauth2

App not active
This app is not accessible right now and the app developer is aware of the issue. You will be able to log in when the app is reactivated.

When callback to /auth/facebook/callback, please advise me.

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.