Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Useful Tools

Tool name

Link

Useful for

Webstorm

https://www.jetbrains.com/webstorm/

A good IDE with lots of smart coding features, it is also free for students to use.

Insomnia

https://insomnia.rest/

Great for testing API endpoints as you are developing them. You can get the auth token for a user from the network tab in chrome for an authenticated user of yours. You then just need to add the farm_id as a header.

React Developer Tools for Chrome

https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en

You can look in the “Components” tab of your dev tools when you have this extension, allowing you to quickly find the name of the component you need to look at for your ticket (this is especially helpful when you are just getting started!). From there you can use your IDE to search for the component.

Useful development tricks

  1. If you are using the location.state object for contextual navigation, make sure you always provide default values in case the keys are null or undefined to avoid bugs.

  2. Always use req.user.user_id instead of req.headers.user_id in the API.

Miscellaneous advice

  1. If you are doing either the frontend or backend work for a fullstack story, communicate early and frequently with the developer(s) who are working on the other part of the story

  • No labels