Skip to content

Smartpreneur/hostinger-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Hostinger Express Test

Minimales Testprojekt um zu pruefen ob Hostinger Node.js funktioniert.

Deployment auf Hostinger

  1. Erstellen Sie ein neues GitHub Repository (z.B. hostinger-test)

  2. Pushen Sie diesen Ordner dorthin:

    cd hostinger-test
    git init
    git add .
    git commit -m "Initial commit"
    git remote add origin https://github.com/IHR_USERNAME/hostinger-test.git
    git push -u origin main
  3. In Hostinger:

    • Websites → Website hinzufuegen → Node.js App
    • GitHub Repository verbinden
    • Framework: Express
    • Deployen
  4. Nach dem Deploy:

    • Oeffnen Sie die temporaere Domain
    • Sie sollten "Express Server funktioniert!" sehen
    • Test-API: /api/test zeigt JSON-Response

Lokal testen

npm install
npm start
# Oeffnen Sie http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors