Skip to content

clasiv-lms/clasiv-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clasiv

Clasiv Backend

Clasiv Backend is a scalable ERP-style backend designed with a modular architecture. A Backend build for:

⚙️ Tech Stack

  • Runtime: Nodejs (Bun)
  • Language: TypeScript
  • Architecture: Monolith, Service–Repository Pattern
  • Validation: Zod
  • Auth: JWT (Access + Refresh Tokens)

🧱 Architecture

The backend follows a Service–Repository pattern:

Router → Controller → Service → Repository

Responsibilities

  • Router → Handles Sub-Routes
  • Controller → Handles HTTP requests
  • Service → Business logic
  • Repository → Database queries
  • Schemas → Validation (Zod)

🚀 Getting Started

1. Install dependencies

bun install

2. Setup environment variables

Create a .env file:

DATABASE_URL=
JWT_SECRET=
REFRESH_TOKEN_SECRET=

3. Run the server

bun run dev

🤝 Contributing

Contributions are welcome. Feel free to open issues or submit pull requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages