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 😛
-
Make sure you have NodeJS, npm, and PostgreSQL installed.
-
Clone the repository
git clone git@github.com:egdelwonk/nashdev-jobs.git
-
Install your dependencies
cd path/to/nashdev-jobs yarn install
-
Copy
.env.example
to.env
and fill out the values. -
Start the app
yarn run start:dev
-
Once you see
Express server listening on port 3000
in the console, you can View the running app at http://localhost:3000
-
Install Docker for OSX or Docker for Windows.
-
Clone the repository
git clone git@github.com:egdelwonk/nashdev-jobs.git .
-
Copy the .env.example to .env and fill out the values.
-
Start the app
cd path/to/nashdev-jobs docker-compose build docker-compose up
-
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
Simply run npm test
and all your tests in the test/
directory will be run.
Simply run docker-compose exec api npm run test
and all your tests in the test/
directory will be run.
0.0.1
- Initial release...lots to do.
Copyright (c) 2017
Licensed under the MIT license.