Git Product home page Git Product logo

delivery-app's Introduction

Delivery App

This project is a simple implementation of an e-commerce app.

Prerequisites

You need to have the following installed on your local development system before you can go ahead with this project (except you want to develop using docker).

Installation

npm install

Usage

development

For developmental purpose, run the following commands

npm run start:dev

test

To run test, run below command

npm run test

production

For production, run below command

npm run start

Docker (recommended)

For docker, run the following commands

docker-compose up -d

Structure

This project is structured in modules. We have the Categories module, Products module and Suppliers module

Categories Module

The Categories module contains information about a product category. The files in this module include category controller, entity, provider, validations and the unit tests.

Products Module

The Products module contain information about products. The files are also structured exactly the same.

Suppliers Module

The Suppliers module contain information about suppliers. The files are also structured exactly the same.

Features

The features of this project include the following.

  • Create a new product
  • Update a product
  • Get all products paginated
  • Get a product with its supplier and category
  • Search a product
  • Create a category
  • Get a category with its associated products
  • Get a supplier
  • Get a supplier with associated products
  • Delete a supplier

API Documentation

The API documentation for testing the endpoints is located here

While the project documentation can be found here

License

ISC

delivery-app's People

Contributors

horlarmeday avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.