Skip to content

OT-SettingsService #1

Description

@frlzjosh

WHAT TO DO:

  1. Creating a microservice called SettingsService in any framework/language with the approval of the majority of the OFF-TOP team.
  2. You will need to create 4 functions/services in it that do the following:
  • A service to save 3 default categories
  • A service to save color
  • A service that saves the alert type
  • A service that saves the vibration type
  1. To store the information you will need to create a database with one table called Settings. You will need to create the following columns: user_email, default_categories, app_color, vibration_type

DONE:

  1. The task is complete when you can hit these 4 endpoints and pass data through postman to a JSON response of the newly updated changes as well as your database updating with those new values.
  2. [OPTIONAL] It would help to create Enums for these values since they're all pre-determined in our app.

LANGUAGE:
Javascript (Node)

PACKAGES:
Express, MySql

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions