Skip to content

james-burke-codes/schedview

Repository files navigation

schedview

Build Status codecov

Schedview is a Web API for managing interview timeslots between candidates and employees

Installation

git clone [email protected]:peregrinius/schedview.git

cd schedview
virtualenv -p <path to python3> venv
source venv/bin/activate

pip install requirements.txt

Setting Environment Variables

The following environment variables are required to run the service

export SV_DB_CONNECTION="sqlite:///:memory:"
export SV_LOGGING_FORMAT="%(asctime)s:%(name)s:L%(lineno)s:%(levelname)s - %(message)s"
export SV_LOGGING_LEVEL="DEBUG"

Testing

pytest

Running

python run.py

Development

Schedview is built using the Bottle Python Web Framework, each application is separate and can be run independently, while also being able to run together using the python run.py command.

Data Model

There is a many to many relationship between a candidate and a job and between an employee and a job. This means that a candidate can apply for many jobs and an employee can interview many candidates and many employees can interview the same candidate.

+-----------+        +-----+        +-----------+
|INTERVIEWEE+^-------+ JOB +-------^+INTERVIEWER|
+-----+-----+        +-----+        +-----+-----+
      ^                                   ^
      |                                   |
+-----+----+                         +----+----+
|CANDIDATE |                         |EMPLOYEE |
+----------+                         +---------+

To Do

  • Create constraint on Interviewee table to prevent a candidate from applying for the same job multiple times.
  • Improve test coverage - add more tests to check failures e.g. sending candidate_id to employee get
  • add deployment process (uWSGI, Zappa)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages