Skip to content

sidd2512/init-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 SETUP BACKEND

version

Quickly set up a clean backend project using JavaScript or TypeScript.


📦 Installation

Run directly with npx:

npx init-backend

Or install globally:

npm install -g inti-backend

⚙️ Features

✅ JavaScript or TypeScript support
✅ Express or HTTP server
✅ MongoDB or PostgreSQL integration
✅ Optional JWT-based authentication
✅ Prettier + ESLint setup
✅ Clean project structure with auto dependency install
✅ Useful scripts like dev, start, lint, and format


📂 Folder Structure

your-project/
├── src/
│   ├── config/
│   ├── controllers/
│   ├── middlewares/
│   ├── models/
│   ├── routes/
│   └── utils/
├── .env.example
├── .gitignore
├── package.json
├── tsconfig.json / server.js / index.ts

🛠️ Usage

Just run:

npx init-backend

Answer a few questions (project name, language, DB, auth), and it sets up everything.


📜 Scripts (in the generated project)

"scripts": {
  "start": "node server.js",
  "dev": "nodemon server.js",
  "lint": "eslint .",
  "format": "prettier --write ."
}

Scripts will adapt automatically if you're using TypeScript.


📸 Demo

structure

🤝 Contributing

Love the idea? Help it grow:

  • Fork the repository
  • Make your changes
  • Submit a pull request

GitHub: https://github.com/sidd2512/init-backend


🧑‍💻 Author

Made with ❤️ by Siddharth


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published