Skip to content

BigsonLvrocha/burguer-place-api

Repository files navigation

Burguerplace api

Description

Repository for a serverless application to practice coding skills

Installation

$ npm install

Running the app

# development
$ make local-run

Test

# unit tests
$ npm run test

Folder structure

The app is divided in layers, each one with it's own responsibilities.

  • interface: Contains the entrypoints of the application, acts a layer of translating external interfaces to the application itself
    • http: JSON-api
    • lambda: translate lambda api requests into http calls
  • use-case: Application layer, define the application specific interface and uses domain and infrastructure layer to execute, efectivelly hidin implementation details from interface code
  • domain: Define application business rules, apply structure data validation.
  • infrastructure: implements application interface with the database, hides implementation details from domain and application layers

Next steps

  • Add pagination or listing by id to listing endpoints /recipes and /ingredient-amount
  • Add authentication
  • Manage SQL schema through migration
  • Add dynamic VPC, Subnet and Security group allocation
  • Automatic setup/teardown of endpoint

About

service for burguers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages