A warehouse inventory management and transaction tracking application written in Next.
Deployed here on Vercel.
- Next.js + Typescript
- Tailwind
- Prisma
- Next Auth
- Tanstack query
- react-hook-form
- zod
In order to run the application you need to set up postgres database running.
There is a Dockerfile ready for you in db/ folder.
Run
docker compose up -dto start running your local postgres database in the background.
Copy template.env file to .env and fill in necessary environment variables.
DATABASE_URL can be for example postgresql://root:123@localhost:5432/pv247-storage-manager?schema=public for the local development.
In order create credentials for GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET, you need first to set up Google OAuth (check these steps).
You need to install node packages and migrate database.
npm install --legacy-peer-deps
npm exec prisma migrate devVisit http://localhost:9002 and login screen will appear: You can connect to the devel db using:
- System:
PostgreSQL - Server:
db(name provided by docker-compose - Username:
root - Password:
123 - Database:
pv247-storage-manager
npm run dev