Express Coldstore Inventory is an inventory management app made with NodeJs, Express, and MongoDB for an imaginary coldroom listing food items that can be freezed. With this app, visitors can create, read, update and delete categories of food items.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need to have Node.js and npm (Node Package Manager) installed on your machine. You can download and install them from the official website (https://nodejs.org/en/). You would also need knowledge of Express and MongoDB.
git clone https://github.com/Chris1-web/express-coldstore-inventory.git
npm install
Create a .env file in the root directory of the project and add the following environment variables: MONGO_DB_ATLAS_URI - MongoDB Atlas connection string OR MONGO_DB_LOCAL_URI - MongoDB local connection string (if you want to use local MongoDB instance, BUT you need to have MongoDB installed on your machine and running, Also you need to change the name where MONGO_DB_ATLAS_URI is used)
Populate the database
npm run populate
npm run devstart
npm run tailwindstart
The application would start at http://localhost:3000 This project is live on https://express-coldstore-inventory.onrender.com
https://blogs.yasharyan.com/store-images-on-mongodb https://github.com/expressjs/multer