capstone_erik_express_app's People
capstone_erik_express_app's Issues
Change error message when no data retrieved from dB on Claim update
Current message: "Unable to update Claim with id of ${id}."
Change to "Claim with id of ${id} was not found when attempting to edit."
Change message for top-level connection to API
Current message: "Welcome to LM Policy Manager API"
Change to "Welcome to the Policy Manager API"
Change warning when no Policy name supplied on create
Current warning is "Policy name must be entered"
Change to "A Policy name is required"
Change error message when no data retrieved from dB on Policy update
Current error message: "Unable to update Policy with id of ${id}."
Change to "Edit failed for Policy with id of ${id}"
Change error message when no data provided for Claim update
Current message: "Empty data for update"
Change to "No information provided for Claim update."
Change error message when Claim not found by id
Current message: "Not found: Claim with id of " + id
Change to "Claim with id of {id} could not be found"
Note: Use of template literal requires string to be enclosed in backticks.
Change console log info for successful database connection in server.js
Current message: "Connected to Mongo database"
Change to "Now connected to Mongo database"
Change logging info when node server spins up in server.js
Current message; "express server running on port ${PORT}."
Change to "express server is now running on port ${PORT}."
Change message on successful Claim edit
Current message: "Successfully updated Claim."
Change to "Claim updated successfully."
Change message on successful Claim delete
Current message: "Claim deleted successfully."
Change to "Successfully deleted Claim."
Challenging: Change function name to get all Policies
Current function in controller is named "findAll"
Change to "findAllPolicies"
Change error message for database connection
Current message: "Unable to connect to the database"
Change to "Database connection could not be established"
Change message on successful edit of Policy
Current message: "Successfully updated Policy."
Change to "Policy was successfully edited."
Challenging: Add API endpoint to find all non-active Policies
Need new endpoint that will return all Policies where "is_active_policy" is false
Change message on successful Policy delete
Current message: "Policy deleted successfully."
Change to "Successfully deleted policy."
Change error message when Policy not found
Current error message is: "Not found: Policy with id of"
Change to "A Policy with id of {id} could not be found"
Challenging: Change function name to get all Claims
Current function name in controller is "findAll"
Change to "findAllClaims"
Change error message when trying to delete non-existent Claim
Current message: "Unable to delete Claim with id of ${id}."
Change to "Attempt to delete Claim with id of ${id} failed."
Change error message when trying to delete nonexistent Policy
Current message: "Unable to delete Policy with id of ${id}."
Change to "No Policy with id of ${id} found. Delete failed."
Change error when no data supplied for Policy edit action
Current error is "Empty data for update"
Change to "No data provided for Policy edit"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.