This repository provides a quick start template for setting up a Node.js project using TypeScript and Prisma as an ORM. It's designed to help you kickstart your development process with minimal configuration.
Before you begin, ensure you have the following installed on your system:
- Node.js (v14 or higher)
- npm (Node Package Manager)
- TypeScript
-
Clone this repository to your local machine:
git clone https://github.com/MahmoudSamir22/Express-Prisma-Boilerplate.git
-
Navigate to the project directory:
cd NodeJs-Project-QuickStart
- Install the project dependencies:
npm install
- Copy the .env.example file and rename it to .env. Update the environment variables as needed:
cp .env.example .env
To upgrade project dependencies, you can use the following command:
npm update
This will update all packages to their latest compatible versions.
1.Start the development server:
npm run dev
The project follows this directory structure:
src/
: Contains the TypeScript source code files.prisma/
: Contains Prisma schema and migration files.dist/
: Output directory for compiled TypeScript files.
Contributions are welcome! If you find any issues or want to enhance this template, feel free to submit a pull request.
This project is licensed under the MIT License.
Happy coding ^_^