Miguel22247 / job_bank_holberton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

Job Bank Holberton

The website allow Hiring Partners of Holberton School Peru to review the CVs of the students and post their recruiting positions available.
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Related projects
  6. License

About The Project

sergey

This project was born from the need that our alma mater Holberton School Peru needs a more organized and easy way to connect Holbies with Hiring Partners, this project will help students a lot to position themselves in the job market as well as Hiring Partners to find true talents.

Team:

  1. Kenny Reyes
  2. Jhonatan Jauja
  3. Alex Rivera

Built With

(back to top)

Getting Started

Prerequisites

  • MySQL
    sudo apt install mysql-server
  • Flask
    pip3 install Flask
  • SQLAlchemy
    sudo pip3 install SQLAlchemy
    You will need to have Node> = 14.0.0 and npm> = 5.6
  • Node
    cd ~
    curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
    sudo bash nodesource_setup.sh
    sudo apt install nodejs
    NodeSource's nodejs package contains the node and npm binary, so you don't need to install npm separately.

Installation

  1. Clone the repo
    https://github.com/alexriveracruz4/job_bank_holberton.git
  2. Install NPM packages
    sudo npm install --save

(back to top)

Usage

  1. Excecute the API in the port 5000 with all environment variables.
    JBH_MYSQL_USER=jbh_dev JBH_MYSQL_PWD=jbh_dev_pwd JBH_MYSQL_HOST=localhost JBH_MYSQL_DB=jbh_dev_db JBH_API_HOST=0.0.0.0 JBH_API_PORT=5000 python3 -m api.v1.app
  2. To create any student or partner user, first you should to create at least an admin user.
    curl -X POST http://0.0.0.0:5000/api/v1/admins/ -H "Content-Type: application/json" -d '{"firstname": "Ruben", "lastname": "Cadenas", "email": "ruben.cadenas@holbertonschool.com", "password": "test"}' -vvv
  3. Start the application.
    npm start
  4. Create a new user, for example a new student.

sergey

(back to top)

Contributing

Would you like to contribute to this project? You can do it, all the details on how to report bugs and pull requests from users are what keep this project working.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b my-new-feature)
  3. Commit your Changes (git commit -m 'Add some feature')
  4. Push to the Branch (git push origin my-new-feature)
  5. Create a new Pull Request

(back to top)

Related projects

  1. Kenny Reyes
  2. Jhonatan Jauja
  3. Alex Rivera

License

Distributed under the MIT License.

(back to top)

About


Languages

Language:JavaScript 67.8%Language:CSS 17.6%Language:Python 13.7%Language:HTML 0.9%