In this section, we will set up our environment. Everything that we need in terms of code and software will be prepared here.
For you to start writing this service, you will need to have the following pieces in place:
- A blank folder for this service
- A new Git repository available
- The microservice template we worked on in the previous chapters
If you have not completed any of the previous steps to have all three elements ready, please go back and finish those first. Microservices can be complex, and if not organized well, will end up in a mess.
This section will cover the following:
- Setting up the template
- Installing SendGrid
- Setting up JSON Web Tokens (JWT) and utility functions
- Setting up the database