LoganX64 /
ecommerce-expressjs
This is a Node.js + TypeScript Backend Boilerplate designed to help you quickly build scalable and maintainable backend APIs.
48/100 healthLoading repository data…
sunilgawai / repository
This is a Node, Express, TypeScript Server boilerplate for those who don't want to waste their time in creating and setting up their project from scratch. This project containes best file and folder structure for any type of backend application.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Node, Express, TypeScript, MongoDB -- ServerExpress && TypeScript magic for your next project.
👉 All the files are pre configured for you.
Just clone and start working. 👈
Small | Medium | Large projectCode instead of Forcing) youProject is using eslint for error highlighing and code style management
import express, { Application } from "express";
import cors from "cors";
import morgan from 'morgan';
import { APP_PORT } from "../config";
import { DataBaseConnection } from "../database";
import { errorHandler } from "./middlewares";
import router from "./routes";
const app: Application = express();
// Database connection....
DataBaseConnection();
// Middlewares....
app.use(cors());
app.use(morgan('dev'))
app.use(express.json());
app.use(express.urlencoded({ extended: true }))
// Routes....
app.use('/api/v1', router);
app.use('/', (_req, _res) => {
_res.send(`<h1> <404/> No data found for this route</h1>`);
})
// Error Handler....
app.use(errorHandler);
app.listen(APP_PORT || 4000, () => console.log(`listening on http://localhost:${APP_PORT}`))
Pretty neat, eh?
Selected from shared topics, language and repository description—not editorial ratings.
LoganX64 /
This is a Node.js + TypeScript Backend Boilerplate designed to help you quickly build scalable and maintainable backend APIs.
48/100 health