This is a full stack web application to track and manage inventory. The application uses Node JS, Fastify, PostgreSQL, and Prisma for the backend, and Next JS, Material UI, and Tailwind CSS for the frontend. Additionally Typescript is used on both the front and backend. The website can be viewed at product-inventory-manager.netlify.app.
Note the initial request to the API (login, signup, etc.) might be a little slow since Heroku puts the server to sleep after 30 minutes of inactivity.
- Install Node JS, PostgresSQL, and Yarn
- Executes the SQL queries in
app/server/database/schema.sql
inside of a new PostgreSQL database - Create a
.env
file inapps/server
with the contentsDATABASE_URL=<URL>
where<URL>
is a URL to the Postgres database with user credentials - Run:
> git clone https://github.com/alexander-azizi-martin/inventory-manager.git
> cd inventory-manager
> yarn install
> yarn build
> yarn start