- 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.git
cd tms-platform
-
Install dependencies in both client and server:
cd client
npm i
cd ..
cd server
npm i
-
Set up the database:
npx prisma generate
npx prisma migrate dev --name init
npm run seed
-
Configure environment variables:
.env
for server settings (PORT, DATABASE_URL).env.local
for client settings (NEXT_PUBLIC_API_BASE_URL)
- Run the project
npm run dev