Skip to content

Simplify your financial workflows with the Resetrix In-House App. This intuitive system, developed by Resetrix, enables effortless invoice generation and organized management of all your purchasing receipts, ensuring smooth operations.

Notifications You must be signed in to change notification settings

weehong/resetrix-invoice-app-bak

Repository files navigation

Resetrix Invoice App

A modern invoice management application built with Next.js 15, React 19, and Prisma, designed specifically for Resetrix's internal invoice processing and management needs.

Access

This application is restricted to Resetrix employees only. Unauthorized access or distribution is prohibited.

Prerequisites

  • Resetrix employee access credentials
  • Node.js (Latest LTS version recommended)
  • npm, yarn, pnpm, or bun
  • PostgreSQL database
  • Access to Resetrix's internal development environment

Getting Started

  1. Ensure you have proper authorization from Resetrix IT department
  2. Clone the repository from Resetrix's private repository
  3. Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
  1. Set up your environment variables:
cp .env.example .env
  1. Initialize the database:
npm run db:generate
npm run db:push
# or
yarn db:generate
yarn db:push
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Database Management

The project uses Prisma for database management. Here are some useful commands:

# Generate Prisma Client
npm run db:generate

# Push schema changes to database
npm run db:push

# Create and apply migrations
npm run db:migrate

# Open Prisma Studio
npm run db:studio

# Reset database
npm run db:reset

# Seed database
npm run db:seed

Project Structure

  • /src/app - Next.js app router pages and layouts
  • /src/component - Reusable React components
  • /src/config - Configuration files
  • /src/style - Global styles and Tailwind configuration
  • /prisma - Database schema and migrations

Features

  • Modern UI with Tailwind CSS
  • Type-safe development with TypeScript
  • Authentication with NextAuth.js
  • Form validation with React Hook Form and Zod
  • Database management with Prisma
  • Email functionality with Resend
  • Responsive design with DM Sans font

Development

  • The project uses ESLint and Prettier for code formatting
  • TypeScript for type safety
  • Tailwind CSS for styling
  • Custom hooks for reusable logic
  • Component-based architecture

License

This project is proprietary and confidential. All rights reserved by Resetrix.

  • Unauthorized copying, distribution, or use of this software is strictly prohibited
  • This software is for internal Resetrix use only
  • No part of this software may be reproduced or transmitted in any form without written permission from Resetrix

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Simplify your financial workflows with the Resetrix In-House App. This intuitive system, developed by Resetrix, enables effortless invoice generation and organized management of all your purchasing receipts, ensuring smooth operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages