Code Monkey home page Code Monkey logo

linkedin_jobs's Introduction

README

This is a personal project developed for learning purposes. Looks for integrate and display job positions offered by other job-search websites in a more friendly way through graphical charts.

Status: Proof of concept. In Progress...

Intentions: Once the proof of concept is finished, I would like to offer it to the public by:

  1. Deploying it to an AWS Fargate.
  2. Refactoring the necessary code for production ready purposes.

Below personal useful snippets for the development process.

Snipped for create table "users" by migrations and populate with users:

cost := bcrypt.DefaultCost
password := "t43f34ffb78j89"
hash, err := bcrypt.GenerateFromPassword([]byte(password), cost)
if err != nil {
    log.Fatal().Err(err).Str("service", "encrypt_service").Msgf("Cannot encrypt pw")
}

var (
    people = []models.User{
        {Name: "marc", Password: hash},
        {Name: "lavanya", Password: hash},
    }
)

// create User table
db.AutoMigrate(&models.User{})
// Create user marc and lavanya
db.Create(&people)

Snippet for create multiple Experiences

// Connect to DB
	err = models.ConnectToDb()
	if err != nil {
		log.Fatal().Err(err).Msg("Error connecting to db.")
	} else {
		log.Info().Msg("Successfully connected to db")
	}

	var xps []models.Experience
	for i := uint(4); i < 100; i++ {
		//debo llenar la lista
		xps = append(xps, models.Experience{Years: i})
	}
	if err := models.Db.Create(xps).Error; err != nil {
		fmt.Printf("tmp")
	}

linkedin_jobs's People

Contributors

mkstyl3 avatar ayoisaiah avatar

Watchers

James Cloos avatar  avatar

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.