https://github.com/sethbergman/jobfinder
Basic app with API built with MongoDB, Express, Angular and Node | http://job-board.npmstack.com
https://github.com/sethbergman/jobfinder
angular angular-resource bluebird-promise dokku express mean-stack mongodb nodejs
Last synced: about 2 months ago
JSON representation
Basic app with API built with MongoDB, Express, Angular and Node | http://job-board.npmstack.com
- Host: GitHub
- URL: https://github.com/sethbergman/jobfinder
- Owner: sethbergman
- Created: 2016-04-11T05:29:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T23:49:17.000Z (over 8 years ago)
- Last Synced: 2025-05-16T12:14:26.169Z (about 1 year ago)
- Topics: angular, angular-resource, bluebird-promise, dokku, express, mean-stack, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Job Finder
------
Test and Behavior Driven Development - built with MongoDB, Express, Angular and Node
[](https://github.com/sethbergman/jobfinder)
[](https://david-dm.org/sethbergman/jobfinder)
[](https://david-dm.org/sethbergman/jobfinder#info=devDependencies)
[](https://quay.io/repository/sethbergman/jobfinder)
[](https://github.com/sethbergman/jobfinder)
## Prerequisites
You will need the following software properly installed on your computer.
* [Git](http://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM)
* [MongoDB](https://www.mongodb.org/)
### Clone the Project
```
git clone https://github.com/sethbergman/jobfinder.git && cd jobfinder
```
### Install Dependencies
```
npm install && bower install
```
### Initialize MongoDB
```
mongod --dbpath data
```
### Run the app
```
npm start
```
### Test Driven Development
```
npm test
```
### Behavior Driven Development
```
karma start
```
If you are developing locally and you want karma to watch the files for changes then you'll need to change line 69 in `karma.conf.js` file to `singleRun: false`. It is set to `true` to enable tests in continuous integration mode.
### Deployment
This application uses the 12 Factor methodology for building applications which run as a service.
Learn more about __The Twelve Factors__.
I use dokku, a Docker powered mini-Heroku that I run on my own server. The only environment variable I had to set is the `MONGODB_URL`. It's NEVER a good idea to commit your database connection string into the repository. In my project's root directory, I entered the following in my terminal window.
```
dokku config:set MONGODB_URL=mongodb://:@ds12211.mlab.com:12211/jobslist
```
This is of course after I added the dokku remote and committed all of my project files.
```
git remote add dokku dokku@dokku-server.com:jobfinder
git push dokku master
```
### Demo
__[JobFinder App](http://job-board.npmstack.com/)__