Vande Bharat is a backend service designed for efficient and scalable data management. It provides a structured database schema, API endpoints, and authentication mechanisms to support seamless operations.
- Structured Database: Normalized schema for efficient data management.
- Authentication: Secure user authentication with JWT.
- Admin Roles & Permissions: Granular access control.
- Logging & Monitoring: Built-in support for monitoring system activities.
- RESTful API: Well-structured API endpoints for seamless communication.
- Backend: NestJS with TypeScript
- Database: PostgreSQL with Prisma ORM
- Authentication: JWT-based authentication
- API Client: Axios with TanStack Query (for frontend integration)
yarn install
yarn run build
yarn run startCreate a .env file and add the following:
DATABASE_URL=postgresql://user:password@localhost:5432/dbname
JWT_SECRET=your_secret_key
| Method | Endpoint | Description |
|---|---|---|
| POST | /auth/login | User login |
| POST | /auth/signup | User registration |
| GET | /users | Fetch all users |
| GET | /users/:id | Fetch user by ID |
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Open a pull request.