Skip to content

Instantly share code, notes, and snippets.

Avatar

Diego Vazquez diurivj

View GitHub Profile
@diurivj
diurivj / settings.json
Created Jan 9, 2020
Visual Studio Code settings
View settings.json
{
"window.zoomLevel": 0,
"window.restoreFullscreen": true,
"workbench.startupEditor": "none",
"workbench.colorTheme": "lucy",
"workbench.activityBar.visible": true,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"editor.fontSize": 18,
@diurivj
diurivj / Uses.md
Last active Jan 9, 2020
This file have all the tools that I use for web development and other stuff.
View Passport | Passport Intro & Passport Local Mongoose.md

Learning Goals

After this lesson, you will be able to:

  • Understand what Passport is and how it's used in web applications.
  • Configure Passport as a middleware in our application.
  • Allow users to log in to our application using Passport Local Mongoose.
  • Create protected routes.
  • Manage errors during the login process using the connect-flash package.
  • Allow users to logout from our application using Passport.
@diurivj
diurivj / MongoDB_Installation.md
Last active Nov 10, 2019
This is the MongoDB's recommended way to install MongoDB Enterprise Server.
View MongoDB_Installation.md

MongoDB Installation

1. Download the files from MongoDB's page:

MongoDB recommends to use the most complete version of MongoDB Server, in order to do this, we will download MongoDB Enterprise. Download the package for your SO in TGZ format.

2. Extract the files:

$ tar -xvzf [name-of-the-file.tgz]
@diurivj
diurivj / README.md
Last active Oct 24, 2019
Best Practices for Github 😎🔥
View README.md

Github's Profile

Profile Photo

A picture with a friendly smile can help recruiters make a connection with you but it isn’t mandatory. If you’re not using a picture of yourself be sure to include a picture that somehow captures your personality. But nothing crude.

General Information

Below is some general information and a link to his email and twitter profile. Recruiters can look through your tweets to get a sense of the things you are interested in.

Repositories

@diurivj
diurivj / HOW TO DEPLOY.md
Last active Nov 4, 2019
STEPS FOR DEPLOYING THE FULL STACK PROJECT.
View HOW TO DEPLOY.md

Backend

  1. Change the .env file:
FRONTENDPOINT=yourproductionendpointforthefrontend(netlify)
  1. Initialize git, commit your changes and push to heroku:
$ git init 
View Module2-Update.md

Module 2 / Updates / Sandra, Joss, Diego

Week 4

Week4

Week 5

Week5

💡 What is the current problem in lesson X:

View ad.md

React | Hooks

Learning Goals

After this lesson you will be able to:

  • Understand what are React Hooks and why are so hot 🔥
  • Understand how to use useState()
View main.js
const hacker1 = 'Diego'
console.log("The driver's name is " + hacker1)
You can’t perform that action at this time.