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.