A secure, scalable, and modern TypeScript backend boilerplate featuring Prisma ORM, JWT authentication, and comprehensive API security for rapid development.
Prisma Express, PostgreSQL,JWT, Husky,logger,uncaught error with TypeScript Server built for fast cloning
This tool serves as a ready-to-use backend template for developers building secure APIs with Express.js and PostgreSQL. It is ideal for teams or individuals who want to quickly set up authentication, authorization, and API security features while leveraging TypeScript and Prisma for database management.
Ensure environment variables are properly configured in the .env file before running the application. The tool requires Node.js v14 or higher and a PostgreSQL database. Use secure secrets for JWT and other credentials to maintain security. Leverage the built-in CI/CD workflows and Docker support for streamlined development and deployment.
Clone the repository: git clone [repository-url]
Navigate to the project directory: cd ready-backend
Install dependencies: yarn install or npm install
Run database migrations: npx prisma migrate dev
Start the development server: yarn dev or npm run dev
yarn start
Start the production server
yarn dev
Start the development server with hot reloading
yarn build
Build the TypeScript project
yarn lint:check
Check for linting issues
yarn lint:fix
Fix linting issues
yarn prettier:check
Check code formatting
yarn prettier:fix
Fix code formatting
yarn lint-prettier
Run both lint and prettier checks