Skip to content

Jalis00/node-API

 
 

Repository files navigation

NodeJS API

Modified from here Introduction to Docker for Javascript Developers (feat Node.js and PostgreSQL), with all irrelevant experiments removed. Also presumably docker is already installed.

Clone

with

git clone https://github.com/TomasKindahl/node-API.git
cd node-API

Install express

npm ci express

Running as server on your host computer

This is for NodeJS API development purposes, if you only need to run NodeJS in docker, jump to section Running with docker!

npm run start

Now lookup localhost:8080!

Running with docker

For any n

docker build -t nodeapi:vn .
docker run -d -p 5080:8080 nodeapi:vn

Now lookup localhost:5080!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.2%
  • Dockerfile 29.8%