A Backend REST-API for the Goalify App
- nodejs official website
- yarn as package manager (works better for offline usage and teams)
- mongodb official installation guide
Optional:
- Robo 3T as a GUI for MongoDB
- Clone this Repository
- cd into the project root
cd path/to/workspace/goalify-backend
- rename the
.env.example
to.env
and adjust the params as needed - run yarn install to install all dependencies
- start database with
mongod --dbpath relative/path/to/database
- Create an empty Database named
goalifydb
(use Robo 3T or your command line) - Start development environment with
yarn dev
- Visit http://localhost:3000/
- Use
yarn seed
to seed the database - Modify /spec/seed_database.js and /spec/factories/* if needed
- We use Sendgrid for Email Notifications
- Please create a free account on sendgrid, and use the templates provided in
email_templates