nusmods
nusmods copied to clipboard
Add new script to start optimiser for developers
Context
- Fixes #4247
Implementation
- Added a new global variable called
OPTIMISER_API_URL - Depending on the script that is run it assigns either
http://localhost:8020/optimiseorapi/optimiser/optimise - Added a new script called
yarn start:localfor running the localhost api endpoint on the website - Updated the
yarn startscript to include the real endpoint for production - Updated the optimiser README to reflect the above changes
@thejus03 is attempting to deploy a commit to the modsbot's projects Team on Vercel.
A member of the Team first needs to authorize it.
Codecov Report
:x: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 55.14%. Comparing base (988c6fd) to head (426b592).
:warning: Report is 152 commits behind head on master.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| website/src/apis/optimiser.ts | 0.00% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #4263 +/- ##
==========================================
+ Coverage 54.52% 55.14% +0.62%
==========================================
Files 274 297 +23
Lines 6076 6729 +653
Branches 1455 1619 +164
==========================================
+ Hits 3313 3711 +398
- Misses 2763 3018 +255
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.