https://github.com/paradoxinversion/waste-not
https://github.com/paradoxinversion/waste-not
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/paradoxinversion/waste-not
- Owner: paradoxinversion
- Created: 2022-09-17T23:48:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T21:56:38.000Z (over 3 years ago)
- Last Synced: 2025-01-20T05:49:55.766Z (over 1 year ago)
- Language: JavaScript
- Size: 307 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waste Not
__An application to reduce food waste and inventory your kitchen__
## Prerequisites
- Node.js 16+
- MongoDB
- Docker
## Run the Application
### Via NPM
1. Run the MongoDB Instance (see below)
To run the application with MongoDB, from the root directory, run
```sh
docker compose up
```
## Run the MongoDB instance
```
docker run --name mongodb -d -p 27017:27017 mongo
```
## Stop the application
To stop all running images, from the root directory, run
```sh
docker compose down
```
You can also end the process via `cmd-Z` or `ctrl-Z` depending on your environment.
## Build Docker Image
Docker images should be built from the live repository.
```
docker build https://github.com/paradoxinversion/waste-not.git\#v -t paradoxinversion/waste-not:v
```
> Replace \ with the version of the application you wish to build.