- Description
- Installation Instructions
- Usage and Screenshots
- Technologies Used
- Dependencies and Credits
- Project Structure
I created this app as part of the curriculum for The Odin Project. Originally I was planning to do a store inventory but thought that this packing list would be more useful for me in the future.
- Clone or fork this repo
- cd into the project root directory (where the README.md file is located)
- Run the following in your terminal
-
npm init -y npm install
-
- Create a .env file
-
PORT="3000" (or any even 4 digit integer) ROLE_NAME= (database role name) ROLE_PASSWORD= (database role password) DATABASE_NAME= (database name) DATABASE_URL= (URL if remote database)
-
-
npm run dev
^+cwill end the process
To create a new item click on the "+ Add new item" button. An existing item can be edited by clicking the "Edit" button on the far right side.
- Allows users to add items to more than one category so that the same item can be used in multiple places
- Items can be edited
- Items can be marked as worn
├──controllers/ # Controller function
├──db/ # Mock database using JavaScript files
├──public/ # Locally hosted image files
├──routes/ # Router file
└──views/ # Files to generate pages with EJS
└── partials/ # Partial EJS