Skip to content
/ backend Public template

A basic skeleton with class abstraction, global & local validation, global & local exception handlers, logging & data tracking, data transfer objects, execution context, authentication, users & user roles, migrations, pagination, and default dispatchers. All built with NestJS.

License

Notifications You must be signed in to change notification settings

ialopezg/backend

Repository files navigation

CoreJS Logo
Backend Module

Description

CoreJS - Backend is a toolset that helps you to develop and debug modern applications. This tool is made to be used in Node.js, which allows you to easily build efficient, scalable applications. It uses modern JavaScript, is built with TypeScript and bring best JavaScript concepts.

Getting started ✨

# 1. Clone the repository
git clone https://github.com/ialopezg/backend.git

# 2. Enter your newly-cloned folder
cd backend

# 3. Install dependencies
npm install

# 4. Start the server
npm run start

Features

Compatible with both TypeScript and ES6 (Recommend to use TypeScript

Available modules

  • Preferences: Global preferences.
  • Mailer: Global email.
  • Users: User management.
  • Auth: Authorization and authentication management.
  • Token: Token management, provision, and renew.

People

Author - Isidro A. Lopez G.

License

CoreJS - Backend under MIT license.


© Copyright 1995-present - Isidro A. Lopez G.

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '1249950735404556',
      cookie     : true,
      xfbml      : true,
      version    : '{api-version}'
    });

    FB.AppEvents.logPageView();

  };

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "https://connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

comprobar estado

FB.getLoginStatus(function(response) {
    statusChangeCallback(response);
});

response

{
    status: 'connected',
    authResponse: {
        accessToken: '...',
        expiresIn:'...',
        signedRequest:'...',
        userID:'...'
    }
}
function checkLoginState() {
  FB.getLoginStatus(function(response) {
    statusChangeCallback(response);
  });
}

About

A basic skeleton with class abstraction, global & local validation, global & local exception handlers, logging & data tracking, data transfer objects, execution context, authentication, users & user roles, migrations, pagination, and default dispatchers. All built with NestJS.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published