Skip to content

πŸš€ Backend Projects contains multiple backend projects built using Node.js, EJS, & TypeScript.

Notifications You must be signed in to change notification settings

Hello-Ship-Code/Backend-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

πŸš€ Backend Projects

This repository contains multiple backend projects built using Node.js and TypeScript.

πŸ“‚ Project Structure

node
β”œβ”€β”€ short-hand-url       # πŸ”— URL Shortener project
β”œβ”€β”€ user-information     # πŸ§‘β€πŸ’» User Information management system

πŸ› οΈ Getting Started

πŸ“₯ 1. Clone the Repository

git clone https://github.com/your-username/backend-projects.git
cd backend-projects

πŸ“¦ 2. Install Dependencies

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

🌍 3. Environment Variables

Each project requires a .env file. Create one in each project directory and configure the necessary environment variables.

πŸ“„ Example (.env for short-hand-url)

PORT=3000
MONGO_URI=mongodb://localhost:27017/short-hand-url

πŸ“‹ Projects Overview

πŸ”— 1. Short-Hand URL

A simple URL shortener using Node.js, Express, MongoDB, and TypeScript.

▢️ Run the Server

cd short-hand-url
npm run dev

The server will start on http://localhost:3000


πŸ§‘β€πŸ’» 2. User Information

A backend service to manage user information.

▢️ Run the Server

cd user-information
npm run dev

The server will start on http://localhost:4000


🧰 Tech Stack

  • 🟩 Node.js
  • πŸ”· TypeScript
  • ⚑ Express.js
  • πŸƒ MongoDB (Mongoose)
  • 🎯 ESLint & Prettier
  • 🌐 Dotenv for environment variables

πŸ”§ Scripts

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 ▢️ Run the compiled JavaScript code
npm run lint βœ… Check code quality with ESLint

πŸ™ Connect with Me

πŸ“Œ GitHub: Hello-ship-code 😊πŸ”₯


πŸ“œ License

This project is licensed under the MIT License.

About

πŸš€ Backend Projects contains multiple backend projects built using Node.js, EJS, & TypeScript.

Resources

Stars

Watchers

Forks