Skip to content

Comments

Feat/aws task 8#1

Merged
mcnic merged 15 commits intomainfrom
feat/aws-task-8
Aug 5, 2024
Merged

Feat/aws task 8#1
mcnic merged 15 commits intomainfrom
feat/aws-task-8

Conversation

@mcnic
Copy link
Owner

@mcnic mcnic commented Jul 21, 2024

Task 8 (Integration with SQL Database)

LINK

image

  1. What was done?
  • Service is done, but FE is not working...
  • Additional scope - logger, swagger, unit tests, transaction
    image

Done 21.7.2024

Evaluation criteria (84 points for covering all criteria)

Provide your reviewers with the link to the repo, client application and URLs to
execute the /import path of the Import Service`

Reviewers should verify the lambda functions by invoking them through provided
URLs.

!!! for all DB operations used Prisma ORM !!!

  • +24 Task 8.1 is implemented

image
Cart Service API

  • +24 Task 8.2 is implemented
    used Prisma ORM - schema in /prisma/schema.prisma file
    image
    image

  • +24 Task 8.3 update the code in the appropriate files (app.module.ts and entities/ folder) to make it possible for application to connect to your database.

Additional (optional) tasks (16 points for covering all criteria)

  • +4 (All languages) - Create orders table and integrated with it Order
    model: orders: id - uuid user_id - uuid cart_id - uuid (Foreign key from
    carts.id) payment - JSON delivery - JSON comments - text status - ENUM or
    text total - number
    Set status to 'ORDERED' after checkout instead of cart deletion.
  • +4 (All languages) - Create users table and integrate with it
  • +4 (All languages) - Transaction based creation of checkout - transaction is used, but api not not agreed upon (very complicate for this task)
  • +4 (All languages) - Integrate Cart service with FE repository
    updated Frontend
    Link to FE PR

Penalties

  • [] 50 - Serverless Framework used to create and deploy infrastructure

Total /100 points

@mcnic mcnic merged commit 3f00a1c into main Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants