- Frontend: Next.js, Tailwind CSS, Redux Toolkit, Redux Toolkit Query, Material UI Data Grid
- Backend: Node.js with Express, Prisma (PostgreSQL ORM)
- Database: PostgreSQL, managed with PgAdmin
Ensure you have these tools installed:
- Git
- Node.js
- npm (Node Package Manager)
- PostgreSQL
- PgAdmin (download)
-
Clone the repository:
git clone https://github.com/itsyaba/tms-platform.gitcd tms-platform -
Install dependencies in both client and server:
cd clientnpm icd ..cd servernpm i -
Set up the database:
npx prisma generatenpx prisma migrate dev --name initnpm run seed -
Configure environment variables:
.envfor server settings (PORT, DATABASE_URL).env.localfor client settings (NEXT_PUBLIC_API_BASE_URL)
- Run the project
npm run dev