Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

MikeyBower93/help-recycle-api

Repository files navigation

Project Description

Introduction

This Help Recycle project is intended to solve the problem in the UK where there are several recycling labels, but different localities have different rules around the recycling material, thus resulting in things getting recycled when they shouldn't be, or things not being recycled when they can be.

This part of the project is the API to service mobile requests.

Project Structure

At the root level we have the basic server where express is initialised, along with configuration files and basic web utilities such as middleware. The application is the vertically sliced into domains which often looks like this:

  • [DOMAIN_TYPE]/domain.ts - this is the business logic/domain rules entry point.

  • [DOMAIN_TYPE]/dtos.ts - this is the dtos for requests to that domain.

  • [DOMAIN_TYPE]/models.ts - underlying data models for that domain.

  • [DOMAIN_TYPE]/router.ts - the web express entrypoint for that domain.

  • Recommendations domain for recommendations for a recycling type, and the recommender (user)

  • votes on the recommendation by a voter, either up or down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published