Skip to content

Scriby97/fleettrack-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

FleetTrack Backend - Multi-tenant fleet management system with NestJS, Supabase Auth, and TypeORM.

Features

  • 🏢 Multi-Tenancy: Organization-based data isolation
  • 🔐 Authentication: Supabase Auth with role-based access control (super_admin, admin, user)
  • 📨 Invite System: Token-based user onboarding
  • 🚗 Fleet Management: Vehicles, usage tracking, operating hours
  • 📊 RESTful API: Complete CRUD operations with TypeORM

Documentation

Project setup

$ npm install

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Deployment

Production Environment:

📖 Complete Deployment Guide - Step-by-step instructions for:

  • Render.com backend deployment
  • Vercel frontend deployment
  • Environment variables configuration
  • Database migration checklist
  • Troubleshooting

Quick deploy:

# Commit and push (auto-deploys to Render & Vercel)
git add .
git commit -m "Deploy update"
git push origin main

For detailed deployment instructions, see DEPLOYMENT.md.

Resources

Check out a few resources that may come in handy when working with NestJS:

  • Visit the NestJS Documentation to learn more about the framework.
  • For questions and support, please visit our Discord channel.
  • To dive deeper and get more hands-on experience, check out our official video courses.
  • Deploy your application to AWS with the help of NestJS Mau in just a few clicks.
  • Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
  • Need help with your project (part-time to full-time)? Check out our official enterprise support.
  • To stay in the loop and get updates, follow us on X and LinkedIn.
  • Looking for a job, or have a job to offer? Check out our official Jobs board.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published