Original Challenge Information: https://docs.google.com/document/d/1z9LZ_kZBUbg-O2MhZVVSqTmvDko5IJWHtuFmIu_Xg1A/edit
This project was implemented using a MongoDB, Express.js, React.js, Node.js (MERN) stack.
- Node.js (https://nodejs.org/en/)
- MongoDB (Community Edition) (https://docs.mongodb.com/manual/administration/install-community/) Note: If using the homebrew method (recommended for mac but requires installation of homebrew at https://brew.sh/), after installation, make sure to run
brew services start mongodb-community@5.0andbrew services stop mongodb-community@5.0back to back
- Clone this repository to your local machine.
- Open up a terminal and navigate to the local repository's root directory.
- Type in
npm install - Type in
npm start - Open up another terminal and navigate to the local repository's "backend" folder
- Type in
npm installhere as well - Type in
mongod --dbpath /local/path/to/shopify_be/backend/datai.e. my command looked likemongod --dbpath /Users/sayyantrath/Documents/hiringProjects/Shopify_BE/shopify_be/backend/data - Open up one last terminal and navigate again to the local repository's "backend" folder
- Type in
npx nodemon server.js - The web app should now be fully functional allowing you to add, edit (pencil icon), delete (trash can icon) inventory items in addition to exporting database records to CSV.
- Create, Read, Update and Delete Inventory Items (CRUD Functionality)
- Exporting database contents to CSV
- Flexibility with deletion (Undoing, etc.)