/cars-be

Car Administration Reactive Software Backend

Primary LanguageJavaScriptOtherNOASSERTION

CARS backend

About this project

Versions

Getting started

Prerequisites

In order to set up the project, you need to have NodeJS (version 18 or higher) installed.

Installation

  1. Clone the repository and open the directory

    > git clone https://github.com/Foacs/cars-be.git
    > cd cars-be
  2. Install the dependencies with PNPM

    cars-be> pnpm install
  3. Build the project

    cars-be> ENV_NODE=dev npx webpack --mode=development
Note

A build folder is created and it contains:

  • built endpoints

  • artifacts to deploy (in folder build/artifacts)

Technologies

NodeJS

Version: `18.x`

PNPM

Version: `8.x`

Webpack

Version: `5.x`

AWS SDK for JavaScript v3

Version: `3.x`

Structure

The project is divided into several folders inside :

endpoints

Contains the endpoints' implementations. These codes are deployed to AWS Lambda.

mappings

Contains mapping, used to map REST request into Lambda input and Lambda output into REST response.

models

Contains REST input/output models.

infrastructure

Contains Cloudformation templates used to deploy infrastructure onto AWS.

Contributing

For detailed information about contributing, check the guide.

License

This project is licensed under the terms of the CeCILL license version 2.1.

Note
You can check the full license here.

Authors

svg+xml;base64,PHN2ZyB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0xNDQuNzM0IDIyLjA0Yy01LjYxLS4wMzUtMTEuMTYzLjEyLTE2LjYzNC40NTYtNDMuNzcgMi43LTgyLjkwNCAxNy4wMDMtMTAzLjg2MiA0NC45OTYtNy41MDYgMTAuMDI3LTUuNjgyIDIzLjkxIDIuOTUgMzEuNDIgOC42MzUgNy41MSAyMy4wMDQgOC4wNTMgMzYuMjM0LS41MiAyMi44NC0xNC44MDUgNDcuOTMzLTkuNTcyIDY0LjI3IDYuMTcyIDE2LjM0IDE1Ljc0NSAyMy43MzYgNDEuNDUzIDcuNTQgNzEuMTQ1LTE5LjE3IDM1LjE0My0zMi43MTYgOTYuMTUzLTIw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