Skip to content

alephnode/inventory-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Inventory API

An API for tracking item location during moves.

Prerequisites

In order to run the project, you'll need MongoDB installed.

Getting Started

Before you can run the project, you'll first need to create the database. The easiest way to do this is to import the mock data provided. Feel free to extend the JSON and update the model/schemas appropriately.

From the project root/backend, run:

mongoimport --db inventory --collection boxes --jsonArray mock/inventory.json

Next, build the project from the same directory:

yarn build

This will run the TypeScript compiler and generate the backend/dist/ directory. Edit the tsconfig.json file to change the output directory and other settings.

Finally, start the API server by running in the backend/ directory:

yarn start

About

API for tracking items during move πŸ“‹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published