<commit_before>(function (){

    'use strict';

    angular
        .module('app')
        .constant("Endpoints", Endpoints());

    function Endpoints() {
        let constants = {
            API: '/api'
        };

        constants.USER = constants.API + '/user';
        constants.EMAIL = constants.API + '/email';
        constants.LOGOUT = constants.API + '/auth/logout';

        return constants;
    }
})();<commit_msg>Added few Registrarion and Login API endpoints<commit_after>(function () {

    'use strict';

    angular
        .module('app')
        .constant("Endpoints", Endpoints());

    function Endpoints() {
        let constants = {
            API: '/api'
        };

        // /auth endpoind handle POST authentication request
        // and return token if auth successful
        constants.AUTH = constants.API + '/auth';

        // /user - demo returns autorized user info
        constants.USER = constants.API + '/user';

        // Unsecured API maybe placed in /open/** path
        constants.OPEN = constants.API + '/open';

        // Registration endpoints
        constants.REGISTRATION = constants.API + '/registration';
        constants.CITIES = constants.REGISTRATION + '/cities';
        constants.GROUPS = constants.REGISTRATION + '/groups';
        constants.PLATOONS = constants.REGISTRATION + '/platoons';
        constants.SECTIONS = constants.REGISTRATION + '/sections';

        // constants.EMAIL = constants.API + '/email';
        // constants.LOGOUT = constants.API + '/auth/logout';
        return constants;
    }
})();


{'fraction_non_alphanumeric': 0.13354430379746834, 'fraction_numerical': 0.0, 'mean_word_length': 2.0939334637964775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6137381', 'n_tokens_mistral': 434, 'n_tokens_neox': 422, 'n_words': 102}