The application is up and running at https://smart-assessments.herokuapp.com
To get started using the app:
- Use the defined node version with
nvm use
- Install all the app dependencies with
npm i
- Start a development server with
npm start
- Altirnatively, start a live preview server with
npm run start:watch
- App will be running on
http://localhost:8051
-
Get all new assessment orders
curl http://localhost:8051/assessments
-
Get assessment order by ID
curl http://localhost:8051/assessments/{assessmentOrderId}
-
Accept assessment order
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/accept
-
Complete assessment order
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/complete
-
Reject assessment order
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/reject
-
Get comments
curl http://localhost:8051/assessments/{assessmentOrderId}/comments
-
Post comments
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/comments
-
Get comment by ID
curl http://localhost:8051/assessments/{assessmentOrderId}/comments/{commentId}
-
Get offers
curl http://localhost:8051/offers
-
Post offers
curl -X POST http://localhost:8051/offers
-
Get offer by ID
curl http://localhost:8051/offers/{offerId}
-
Update offer
curl -X POST http://localhost:8051/offers/{offerId}
-
Submit offer
curl -X POST http://localhost:8051/offers/{offerId}/submit
-
Withdraw offer
curl -X POST http://localhost:8051/offers/{offerId}/withdraw
-
Get results
curl http://localhost:8051/assessments/{assessmentOrderId}/results/
-
Post results
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/results/
-
Get result by ID
curl http://localhost:8051/assessments/{assessmentOrderId}/results/{resultId}
-
Get attachments
curl http://localhost:8051/assessments/{assessmentOrderId}/results/{resultId}/attachments
-
Post attachment
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/results/{resultId}/attachments
-
Get attachment by ID
curl http://localhost:8051/assessments/{assessmentOrderId}/results/{resultId}/attachments/{attachmentId}
-
Update attachment
curl -X POST http://localhost:8051/assessments/{assessmentOrderId}/results/{resultId}/attachments/{attachmentId}
-
Get configs
curl http://localhost:8051/configs
-
Post config
curl -X POST http://localhost:8051/configs
-
Get config by ID
curl http://localhost:8051/configs/{configId}
-
Update config
curl -X POST http://localhost:8051/configs/{configId}