https://github.com/truepadawan/hardware-inventory
A Hardware Inventory web application
https://github.com/truepadawan/hardware-inventory
expressjs nodejs pugjs
Last synced: 4 months ago
JSON representation
A Hardware Inventory web application
- Host: GitHub
- URL: https://github.com/truepadawan/hardware-inventory
- Owner: TruePadawan
- Created: 2023-05-27T13:25:37.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T20:14:25.000Z (almost 3 years ago)
- Last Synced: 2025-05-14T21:11:30.027Z (about 1 year ago)
- Topics: expressjs, nodejs, pugjs
- Language: JavaScript
- Homepage: https://hardware-inventory.onrender.com/
- Size: 291 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Hardware Inventory](https://hardware-inventory.onrender.com/)

**Hardware Inventory** is a simple CRUD web-application I built to practice working with server-side technologies, NodeJS + ExpressJS to be exact.
It's provides an interface for creating lists of hardwares which are group based on the type of hardware.
My goal was mainly to get comfortable with Node and ExpressJS and see how they work with other server-side tools.
## Stack
- **Node/ExpressJS** for the backend of the application.
- **MongoDB** for database.
- **Pug** as a template engines for creating the pages.
- **Express Validator** for user input validation.
- **Cloudinary** for storing and managing images uploaded by users.
## Setup
After cloning to your local environment, install the dependencies with the `npm install` command.
The application requires a couple of environment variables:
- `MONGODB_CONNECT_STR` - MongoDB database connection string.
- `ADMIN_PASSWORD` - A string that serves as a password for allowing editing and delete operations.
- `CLOUDINARY_API_SECRET`, `CLOUDINARY_API_KEY` and `CLOUDINARY_CLOUD_NAME` - These are gotten from your Cloudinary console.
Start the application with `npm run serverstart` which uses nodemon rather than node itself, Nodemon restarts the server if any changes are made to the code.