Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] User service #61

Open
angel-penchev opened this issue Nov 19, 2020 · 0 comments
Open

[Feat] User service #61

angel-penchev opened this issue Nov 19, 2020 · 0 comments
Assignees
Labels
feature New feature or request server Tasks regarding the centralized server
Milestone

Comments

@angel-penchev
Copy link
Member

Describe the feature you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

@angel-penchev angel-penchev added feature New feature or request server Tasks regarding the centralized server labels Nov 19, 2020
@angel-penchev angel-penchev added this to the November 2020 milestone Nov 19, 2020
@angel-penchev angel-penchev self-assigned this Nov 19, 2020
@angel-penchev angel-penchev changed the title [Feat] API Service [Feat] User Service Dec 31, 2020
@angel-penchev angel-penchev changed the title [Feat] User Service [Feat] User service Dec 31, 2020
angel-penchev added a commit that referenced this issue Jan 15, 2021
Created a shared queue module for abstract communication with RabbitMQ
(or other queues if needed via dependency injection) which will be used
for cross-service messaging.

References #59.
References #60.
References #61.
References #62.
References #63.
angel-penchev added a commit that referenced this issue Jan 27, 2021
Separated database table/view initialization to a separate script, which
is runned upon starting the postgres docker container.

References #58, #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Jan 27, 2021
Separated database table/view initialization to a separate script, which
is runned upon starting the postgres docker container.

References #58, #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 1, 2021
Modified the shared queue class and the usecases using it to support
emitting to multiple shared queues and creating persistant RabbitMQ
queues for task fail-save and acknowlagments for load balancing.

Referencing #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 1, 2021
As nested callbacks have proven to be annoying I switched to es6
async/await syntax.

References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 1, 2021
Added a test suite for the shared queue module.
References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 1, 2021
Added a type which specifies that a queue message has both a body and a
subject string.

References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 1, 2021
Moved exports, made styling consistant, removed redundant parts.
References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 2, 2021
Created univertial utility method for converting entity exports to
normal usable but not frozen data.

References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 2, 2021
Fixed a bug where only the top level of an exported entity would be
normalized.
References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 2, 2021
Fixed a bug where only the top level of an exported entity would be
normalized.
References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 2, 2021
Resolved an issue where non-getter methods were being stored as
{undefined: undefined}.

References #59, #60, #61 and #62.
angel-penchev added a commit that referenced this issue Feb 3, 2021
Created a usecase which processes a payment using Stripe, stores its'
data in a database table and notifies other services.
References #61.
angel-penchev added a commit that referenced this issue Feb 7, 2021
Added message acknowlagments when fetching a message from a queue.

References #59, #60, #61 and #62.
@angel-penchev angel-penchev reopened this Feb 7, 2021
angel-penchev added a commit that referenced this issue Feb 9, 2021
Created a interface for communicating with the messagebird api.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
angel-penchev added a commit that referenced this issue Feb 9, 2021
Switched SMS backend to Twilio as the response contains "accountSid",
which I will use as user token.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Added controllers for handling sms sending and code verification.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Converted from callbacks to async/await promises so the usecases can
properly do its' job.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Fixed an issue with incorrect passing of request parameters to usecase.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Created a usecase for sending verification SMS.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Created a usecase for verifing the user.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
angel-penchev added a commit that referenced this issue Feb 9, 2021
Added a interface for interacting with the database.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Interface now throws on error.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Added user token generation as apperantly crypto does not support it.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Added a function for finding users by querying a phoneNumber.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Added users storing if the user has not logged in already.
References #61.
angel-penchev added a commit that referenced this issue Feb 9, 2021
Made so the service is listening for user verification requests.
References #61
angel-penchev added a commit that referenced this issue Feb 20, 2021
Changed response so it contains only information needed for the app.
References #61 and  #69.
angel-penchev added a commit that referenced this issue May 24, 2021
Cleaned up and reorganized the users service.
References #61.
angel-penchev added a commit that referenced this issue May 25, 2021
Now using knex query builder as typeorm presented issues.
Proper core module initialization in docker container.
Fixed ts-node issue when using "paths" in config.
Swapped out long relative paths for aliases.
References #61.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request server Tasks regarding the centralized server
Projects
None yet
Development

No branches or pull requests

1 participant