Track your, and your team's, civic engagement.
https://github.com/jacobmoe/resistr-api
- PostgreSQL
- Nodejs > 7.0
Install the project
git clone https://github.com/jacobmoe/resistr-api.git
cd resistr-api
npm install
cp config/production.json.example config/production.json
cp env/secrets.sh.example env/secrets.sh
Update env/secrets.sh
Create a JWT_SECRET
node -e "console.log(require('crypto').randomBytes(32).toString('hex'));"
Setup the database
make db.create
make db.migrate
make db.seed
Run the server
NODE_ENV=development make
make test
https://github.com/jacobmoe/resistr-ui
Install the project
git clone https://github.com/jacobmoe/resistr-ui.git
cd resistr-ui
npm install
Run the development server
make