Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANCI Training Management System (TMS)

A modern Training Management System built using a Monorepo Architecture with Turborepo, Next.js, and .NET Web API.


Tech Stack

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS v4
  • Turborepo
  • PNPM

Backend

  • ASP.NET Core Web API (.NET)
  • Entity Framework Core
  • SQL Server

Project Structure

CAPSTONE-FINAL/
├── apps/
│   ├── web
│   └── admin
│
├── packages/
│   ├── ui
│   ├── tokens
│   ├── shared
│   └── types
│
├── package.json
├── pnpm-workspace.yaml
└── turbo.json

server/
└── ANCI.Api

Requirements

Install the following before running the project.

  • Node.js 22+
  • PNPM
  • .NET SDK 8+
  • SQL Server
  • Git

Installation

Clone Repository

git clone https://github.com/MPM-Training-Management-System/ANCI

Frontend Setup

Install dependencies.

cd client
pnpm install

Run Frontend

Run Web Application

pnpm --filter web dev

Open

http://localhost:3000


Build Frontend

pnpm --filter web build

Backend Setup

Navigate to the server project.

cd server

Restore packages.

dotnet restore

Configure Environment

Update your database connection inside

appsettings.json

Example

{
  "ConnectionStrings": {
    "DefaultConnection": "Server=.;Database=ANCI_DB;Trusted_Connection=True;TrustServerCertificate=True;"
  }
}

Apply Database Migration

dotnet ef database update

Run Backend

dotnet run

or

dotnet watch run

Backend API

https://localhost:5001

or

http://localhost:5000

Run Lint

pnpm lint

Check Types

pnpm check-types

Build All Packages

pnpm build

Environment Variables

Frontend

Create

apps/web/.env.local

Example

NEXT_PUBLIC_API_URL=http://localhost:5000

Backend

Configure

appsettings.json

or

appsettings.Development.json

Development Workflow

  1. Pull latest changes
git pull
  1. Install dependencies
pnpm install
  1. Run backend
cd server
dotnet watch run
  1. Run frontend
pnpm --filter web dev

Git Workflow

Create a new branch.

git checkout -b feature/your-feature

Commit changes.

git add .
git commit -m "feat: description"

Push branch.

git push origin feature/your-feature

Create a Pull Request.


Contributors

  • ANCI Development Team

License

This project is intended for educational and organizational use.

About

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages