Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

275
Views
Running NodeJS server and Angular client server from a desktop shortcut

I have a NodeJS server that I run using npm startand an AngularJS client UI application that I also run using npm start, is there a way to create a desktop shortcut to run the command lines with just a click?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

As mentioned in my comment, a batch script seems like the easiest way of doing this. If you're on Windows, this should do what you need:

start cmd /k "cd C:/yournodeproject && npm start"
start cmd /k "cd C:/yourangularproject && npm start"
  • start runs a command in a new window.
  • cmd /k allows us to pass a string into the new command line.
  • Each window switches to the relevant directory and runs npm start.

Unfortunately I don't know enough about Bash to offer a Linux equivalent, but hopefully this will get you started.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!