Before you begin, make sure you have Node.js 18 or later installed on your machine and a Neon PostgreSQL account with a database ready to use. You will also need Git to clone the repository.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ChrisCore1/inventario_sud/llms.txt
Use this file to discover all available pages before exploring further.
Configure environment variables
Create a Open
.env.local file in the project root and add the required variables:.env.local and set at minimum DATABASE_URL, NEXTAUTH_URL, NEXTAUTH_SECRET, and the SMTP variables. See Configure environment variables for a full description of every variable and an example file.Seed the first admin user
Before logging in you need at least one user in the database. Run the seed script:The script creates the user defined in
scripts/add-user.ts. Edit that file first if you want a different email, password, or role.Start the development server
The development server runs at
http://localhost:3000 by default. Set NEXTAUTH_URL=http://localhost:3000 in your .env.local file to match.