A detail page for a crowd-funding campaign
- https://github.com/FEC-Kickstand/comments-module
- https://github.com/FEC-Kickstand/support-module-svc
- https://github.com/FEC-Kickstand/updates-service
- https://github.com/FEC-Kickstand/funding-widget
Some usage instructions
An nvmrc
file is included if using nvm.
- Node 6.13.0
- mysql
From within the root directory:
npm install -g webpack
npm install
- Copy the contents of connection.test.js into a new file and name it connection.js
mysql.server start
mysql -u root
npm run seed
npm run build
npm run start
Action | Method | Endpoint | Purpose |
---|---|---|---|
Create | POST | /api/:campaignId/stats | Insert new campaign |
Read(One) | GET | /api/:campaignId/stats | Get one campaign |
Update | PATCH | /api/:campaignId/stats | Update one campaign |
Delete | DELETE | /api/:campaignId/stats | Delete a campaign |