A mental health tracking application
Get the App: Sander Health
Heroku:
sanderhealth-development
sanderhealth-production
Still need to set up heroku & Travis
These instructions will provide information on the overall design and project structure. They will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
mongo --version
and should get a response if installed correctly.npm install -g nodemon
to install.nodemon server.js
To get involved with this project, you’ll need to do a few things:
git clone https://github.com/leesander1/hearmenow-server.git
in the location of your choice.npm install
when you’re in the project directory.npm start
or nodemon server.js
localhost:3000
Tests are run using mocha
Add new .js file to /tests folder.
npm test
Name | Description / Purpose |
---|---|
server.js | The main application file and entrypoint. |
config/passport.js | Passport strategies and middleware to manage login. |
models/User.js | Mongoose schema and model for User. |
public/ | Static assets (fonts, css, js, img). |
views/ | All the handlebars layouts and views |
controllers/api.js | Controller for /api route and to manage twilio requests. |
controllers/home.js | Controller for home. |
controllers/user.js | Controller for user account management. |
controllers/notification.js | Controller to manage notifications |
controllers/entry.js | Controller for entries. |
test/ | Folder containing all our unit tests for mocha. |
example.env | Your API keys, tokens, passwords and database URI. |
package.json | npm package dependencies & node config |
.travis.yml | Contains travis ci configuration settings |
(See package.json) but at a glance, the following packages are / will be used.
See also the list of contributors who participated in this project.