A simple inventory application written with Typescript and Express. This app serves to demonstrate basic CRUD functionality using purely backend technologies.
To run this app, you will need to have Node and PostgreSQL installed on your device. You can follow these steps to interact with the application:
- Clone the repo and navigate to the root level of its directory
- Run
npm i - Run
npm run build - Create a
.envfile containing the appropriateDB_USER,DB_PW, andDB_NAMEvariables you'll be using for your local Postgres database - (Optional) Run
node dist/db/populatedeb.jsto populate the database with seed data - Run
npm run start - Open the localhost port your application is running on in a browser
- Interact with items at
localhost:<yourport>/items - Interact with categories at
localhost:<yourport>/categories