Install Locally
Here is some description.
Clone the Repository
git clone https://github.com/rezwanul7/TestoQA.git
cd TestoQACreate PostgreSQL Database
Download and install PostgreSQL from the official source:
Create a new database named testoqa.
Important! Note These During Installation:
- Password for the
postgresuser - Port Number (default:
5432)
Set Up Environment Variables
Copy the example environment file and customize it for your setup:
cp .env.example .envFor more details on environment variable setup, check out the Setup Environment Variable.
Install Dependencies
npm installGenerate Prisma Client & Run Migrations
npx prisma generate
npx prisma migrate deployStart the Application
PORT=3000 HOSTNAME=0.0.0.0 node server.jsVerify by visiting http://localhost:3000
🔐 Demo Credentials
Use the following credentials to explore the application.
Admin user
- Email:
testoqa@teamtesto.com - Password:
teamtesto
The admin user has full access to all features and settings.
General user
- Email:
demo@example.com - Password:
teamtesto
The general user has limited permissions and is useful for testing access controls.
If you changed the admin password using the
TEAM_TESTO_ADMIN_PASSWORD environment variable,
use that value instead of the default password.
🌱 Seed Sample Test Cases
You can populate TestoQA with sample data to explore the application.
Visit the following URL in your browser:
http://localhost:3000/api/seed
This will insert sample data into the database for exploration and testing.
To remove all seeded data and reset the database, visit:
http://localhost:3000/api/seed/truncate
This action permanently deletes all data in the database. Only use this if you are sure you want to reset your local setup.