Skip to content

Professional starter template for Node.js backends, built to align with enterprise conventions.

License

Notifications You must be signed in to change notification settings

Hashir-Akbar/Nodejs-backend-starter-kit

Repository files navigation

JavaScript Backend Starter Kit

Overview

This repository provides a professional starter kit for backend development using Node.js. It includes a starter folder structure, global configurations for Prettier, and Nodemon to streamline your development workflow. The setup also includes environment variable management.

This repository is set up as a template. You can use it as a starting point for your own projects.

You can even customize or add things according to your needs but this is an example 90% professional industry use this folder structure for backend

Folder Structure

Explanation

  • /src: Contains the main application code including controllers, models, routes, and services.
  • /config: Configuration files for the application.
  • /migrations: Database migration files.
  • /tests: Unit and integration tests.
  • /scripts: Scripts for various tasks (e.g., database seeding).
  • /public: Publicly accessible files & backup server in temp folder (e.g., static assets).

Getting Started

Using This Template

To use this repository as a template for your own project:

  1. Click the "Use this template" button at the top of this repository page.

  2. Choose a name for your new repository and select whether you want it to be public or private.

  3. Click "Create repository from template."

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Hashir-Akbar/vanilla-backend-starter-js

About

Professional starter template for Node.js backends, built to align with enterprise conventions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published