Commit eaa48337 authored by GitLab's avatar GitLab Committed by Liam McAndrew
Browse files

Initialized from 'NodeJS Express' project template

Template repository: https://gitlab.com/gitlab-org/project-templates/express
Commit SHA: 7494db9e8bca9bc0f514cac747389b0688351b12
parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+61 −0
Changes for .gitignore: 61 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

.gitpod.yml

0 → 100644
+7 −0
Changes for .gitpod.yml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
ports:
  - port: 3000
    onOpen: open-preview

tasks:
  - init: npm install
    command: npm start

.node-version

0 → 100644
+1 −0
Changes for .node-version: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
8.11.1

Dockerfile

0 → 100644
+15 −0
Changes for Dockerfile: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
FROM node:8.11-alpine

WORKDIR /usr/src/app

ARG NODE_ENV
ENV NODE_ENV $NODE_ENV

COPY package*.json /usr/src/app/
RUN npm install

COPY . /usr/src/app

ENV PORT 5000
EXPOSE $PORT
CMD [ "npm", "start" ]

README.md

0 → 100644
+17 −0
Changes for README.md: 17 added lines, 0 removed lines.
Original line number Diff line number Diff line
### Node Express template project

This project is based on a GitLab [Project Template](https://docs.gitlab.com/ee/gitlab-basics/create-project.html).

Improvements can be proposed in the [original project](https://gitlab.com/gitlab-org/project-templates/express).

### CI/CD with Auto DevOps

This template is compatible with [Auto DevOps](https://docs.gitlab.com/ee/topics/autodevops/).

If Auto DevOps is not already enabled for this project, you can [turn it on](https://docs.gitlab.com/ee/topics/autodevops/#enabling-auto-devops) in the project settings.

### Developing with Gitpod

This template has a fully-automated dev setup for [Gitpod](https://docs.gitlab.com/ee/integration/gitpod.html).

If you open this project in Gitpod, you'll get all Node dependencies pre-installed and Express will open a web preview.
Loading