Challenge Overview
Microservice Architecture
This is the EASY 250 Points Competition about how we can introduce a new feature in an app as a microservice.
Your task in this challenge is to create an additional microservice for this blog application, and make the logs persistent by writing them in a file.
You are given a starter application, and in this task, you have to modify and extend that starter application to create an additional microservice.
What do you need to do?
The requirement from you is as follow:
User authentication microservice:
1) Deploy the starter pack application locally (instructions provided in Readme.md).
2) Create a new microservice called auth that introduces the ability for the user to register and log in before they can publish a blog post.
3) At the moment, the application does not have a persistent storage. The next requirement is to introduce MongoDB and store the User’s information (name, email, and password) in a collection called Users.
4) For the backend, you are free to use whatever stack you like, as long as it functions correctly with the other microservices.
5) The react views for this microservice will be part of the existing react app in the client folder.
Writing logs to a file:
In the _event-bus _microservice, the logs are currently being printed on the console, your next task is to write these logs in a server.log file which should be present inside the event-bus folder.
Learning Resource: https://martinfowler.com/articles/microservices.html
Submission Deliverables
You must follow this submission folder structure for your scoring:
- Create a folder with “code” as the folder name then zip.
- All the microservices that reside in their own folders should be placed inside this “code” folder, including the one that you created in this challenge. Please remove the nodemodules folder from each microservices folder before submission.
- Zip that “code” folder and submit to the challenge.
Topcoder Skill Builder Competition | Cloud Native | Problems
Host Challenge: https://www.topcoder.com/challenges/c1baa6a2-272f-4ae8-8c1f-2f53831deb2d
Easy: 250 Points. Challenge Link: https://www.topcoder.com/challenges/c4a13de5-3564-4a7e-817d-a1c07954ef84
Medium: 500 Points. Challenge Link: https://www.topcoder.com/challenges/51aaeea8-186b-403d-a7fe-ab39e4968fdd
Hard: 1000 Points. Challenge Link: https://www.topcoder.com/challenges/1fa67d57-e2f9-4e0f-ba13-7a0ffc453946