Skip to content

jmrl23/portfolio-backend

Repository files navigation

Portfolio backend

backend server for portfolio website

Quickstart

options on making things ready

  • standalone (node.js)

    1. make a .env file and fill out the required variables
    2. run build (only if you wish to run the production/ build version)
    3. run start script
  • docker

    1. fill the environment variables needed
    2. run build script
    3. run docker compose up -d

Features/ modules

Scripts

Script Description
build build project
test run test files
start start (must build first)
start:dev start on development mode (nodemon + swc)
start:prod start on production mode (must build first)
format format codes (prettier)
lint lint codes (eslint)

Extras

References