Skip to content

Hassanhashmi-475/ts-node-mongo-express-boilerplate

Repository files navigation

ts-node-mongo-express-boilerplate

Description:

A robust boilerplate for building Node.js applications with TypeScript, Express.js, and MongoDB. This project provides a solid foundation for backend development, featuring a clean project structure and integration with MongoDB for seamless data storage. The use of TypeScript ensures type safety throughout the codebase.

Simple user Auth has also been implemented using jwt performing signup/login/

Key Features:

  • TypeScript: Enjoy the benefits of static typing for enhanced code quality and maintainability.
  • Express.js: A fast, unopinionated, minimalist web framework for Node.js, perfect for building RESTful APIs.
  • MongoDB Integration: Easily connect and interact with MongoDB, a NoSQL database, for efficient data storage.
  • Vercel Deployment: Ready-made setup for deploying your application to Vercel, enabling seamless hosting and scaling.
  • Yarn Package Manager: Utilizes Yarn for dependency management, ensuring faster and reliable package installations.

Getting Started:

  1. Clone the repository: git clone https://github.com/Hassanhashmi-475/ts-node-mongo-express-boilerplate.git
  2. Install dependencies: yarn install
  3. Set up your MongoDB connection in the configuration files.
  4. Start the development server: yarn run dev
  5. Deploy to Vercel: Follow the provided Vercel deployment configuration for a smooth deployment experience.

Directory Structure:

  • src: Contains the TypeScript source code.
  • dist: Output directory for compiled JavaScript.
  • config: Configuration files for various settings.
  • vercel: Vercel-specific configuration for deployment.

Contributions are welcome! Feel free to open issues, submit pull requests, or suggest improvements to make this boilerplate even better.

Releases

No releases published

Packages

No packages published