GithubHelp home page GithubHelp logo

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.

⚡ 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' });



Thiago Souza's Projects

Thiago Souza doesn’t have any public repositories yet.

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.