DwordPtr / nashdev-jobs

NashDev Jobs API + Bot

Home Page:https://jobs.nashdev.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jobs

nashdev slack jobs api

Note: This initial version was written as part of a live stream at NashJS (7/12/17)... so the code is precarious at best. It is not an endorsement of best practices or code cleanliness. Definitely could use a refactor 😛

Running Locally

  1. Make sure you have NodeJS, npm, and PostgreSQL installed.

  2. Clone the repository

     git clone git@github.com:egdelwonk/nashdev-jobs.git
    
  3. Install your dependencies

    cd path/to/nashdev-jobs
    yarn install
    
  4. Copy .env.example to .env and fill out the values.

  5. Start the app

    yarn run start:dev
    
  6. Once you see Express server listening on port 3000 in the console, you can View the running app at http://localhost:3000

Running with Docker Locally (recommended)

  1. Install Docker for OSX or Docker for Windows.

  2. Clone the repository

     git clone git@github.com:egdelwonk/nashdev-jobs.git .
    
  3. Copy the .env.example to .env and fill out the values.

  4. Start the app

    cd path/to/nashdev-jobs
    docker-compose build
    docker-compose up
    
  5. Once you see the following in the console, you can view the running app at http://localhost:3000

    api_1  | Express server listening on port 3000
    api_1  | webpack built 9e78255fb1ed68765f63 in 9487ms
    

Testing

Local:

Simply run npm test and all your tests in the test/ directory will be run.

Docker

Simply run docker-compose exec api npm run test and all your tests in the test/ directory will be run.

Changelog

0.0.1

  • Initial release...lots to do.

License

Copyright (c) 2017

Licensed under the MIT license.

About

NashDev Jobs API + Bot

https://jobs.nashdev.com

License:MIT License


Languages

Language:JavaScript 93.9%Language:CSS 4.4%Language:HTML 1.7%