This repository contains multiple backend projects built using Node.js and TypeScript.
node
├── short-hand-url # 🔗 URL Shortener project
├── user-information # 🧑💻 User Information management system
git clone https://github.com/your-username/backend-projects.git
cd backend-projects
Each project has its own dependencies. Navigate to the respective folder and install them.
cd short-hand-url
npm install
cd ../user-information
npm install
Each project requires a .env file. Create one in each project directory and configure the necessary environment variables.
PORT=3000
MONGO_URI=mongodb://localhost:27017/short-hand-url
A simple URL shortener using Node.js, Express, MongoDB, and TypeScript.
cd short-hand-url
npm run dev
The server will start on http://localhost:3000
A backend service to manage user information.
cd user-information
npm run dev
The server will start on http://localhost:4000
- 🟩 Node.js
- 🔷 TypeScript
- ⚡ Express.js
- 🍃 MongoDB (Mongoose)
- 🎯 ESLint & Prettier
- 🌐 Dotenv for environment variables
Each project has the following scripts in package.json
:
🛠️ Script | 📝 Description |
---|---|
npm run dev |
🚀 Start the development server |
npm run build |
🔨 Compile TypeScript to JavaScript |
npm start |
|
npm run lint |
✅ Check code quality with ESLint |
📌 GitHub: Hello-ship-code 😊🔥
This project is licensed under the MIT License.