Skip to content
View thrsouza's full-sized avatar
😜
Full Stack Developer
😜
Full Stack Developer

Organizations

@neutronjs @thiagosouza-codes @royal-house
Block or Report

Block or report thrsouza

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
thrsouza/README.md

Thiago Souza


📃 Github Stats


Thiago's Github Stats Thiago's Top Languages
Note: Top languages is only a metric of the languages my public code consists of and doesn't reflect experience or skill level.

Yashita's Activity Graph

⚡ Main Technologies



📜 Resume (Nodejs + Mongoose)


const Experience = require('./models/Experience');
const Graduation = require('./models/Graduation');
const Project = require('./models/Project');
const User = require('./models/User');

async function getAndShowSomeInformations({ username }) {
  // USER DETAILS -----------------------------------------

  const user = await User.findOne({ 
    username, 
  });

  console.log(user); 
  /* {
    _id: '5a093631713c0900019b0000',
    name: 'Thiago Souza',
    username: 'thrsouza'
    title: 'Full Stack Developer',
    alias: ['ZeroDois', 'Rezim', 'Mizer'],
    hobbies: ['Music', 'Games', 'Movies', 'Series'],
  } */


  // CURRENT JOB ------------------------------------------

  const currentJob = await Experience.findOne({ 
    userId: user._id, 
    endDate: null, 
  });

  console.log(currentJob); 
  /* {
    _id: '5b093631713c0900019b0001',
    userId: '5a093631713c0900019b0000',
    title: 'Full Stack Technical Leader',
    companyName: 'Golfleet Tecnologia',
    employmentType: 'Full-time',
    location: 'Londrina, PR - Brazil',
    startDate: '2020-01-16',
    endDate: null,
  } */


  // GRADUATION -------------------------------------------

  const graduation = await Graduation.findOne({ 
    userId: user._id 
  });

  console.log(graduation);
  /* {
    _id: '5c093631713c0900019b0002',
    userId: '5a093631713c0900019b0000',
    school: 'Campus Virtual Cruzeiro do Sul Educacional',
    fieldOfStudy: 'Análise e Desenvolvimento de Sistemas',
    startDate: '2018-01-01',
    endDate: '2020-12-31',
  } */


  // OPEN SOURCE PROJECTS ---------------------------------
  
  const projectsOpenSource = await Project.find({ 
    userId: user._id, 
    openSource: true 
  });

  console.log(projectsOpenSource);
  /* [
    { 
      _id: '5d093631713c0900019b0003',
      userId: '5a093631713c0900019b0000',
      name: 'neutronjs', 
      repository: 'https://github.com/neutronjs/neutron',
      openSource: true, 
    }, 
    { 
      _id: '5d093631713c0900019b0004',
      userId: '5a093631713c0900019b0000',
      name: 'cheesecakejs', 
      repository: 'https://github.com/thrsouza/cheesecake', 
      openSource: true, 
    },
  ] */
}

getAndShowSomeInformations({ username: 'thrsouza' });



Pinned

  1. neutronjs/neutron neutronjs/neutron Public

    Neutron is a CLI developed to help developers create new react projects with Redux + Redux Saga and offers well-structured code standardization.

    JavaScript 66 8

  2. cheesecake cheesecake Public

    Cheesecake is the best option for Raspberry Pi with Nodejs!

    JavaScript 10

  3. github-compare github-compare Public

    This project was created along the second module of ReactJS (GoStack - Rocketseat).

    JavaScript 1

  4. github-users-map github-users-map Public

    This project was created on the third module of ReactJS (GoStack - Rocketseat).

    JavaScript 1

  5. vuttr-app vuttr-app Public

    This project was created to BossaBox Challenge - Front-end.

    JavaScript 3

  6. meetapp meetapp Public

    This project was created to Bootcamp final challenge. (GoStack - Rocketseat)

    JavaScript 1