feat: init-express-backend #6
11
.github/workflows/run_back_test.yml
vendored
Normal file
11
.github/workflows/run_back_test.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: Jest test unit
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install modules
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: npm run test
|
@ -1,11 +1,12 @@
|
||||
import express from "express";
|
||||
|
||||
/**
|
||||
* Initialize Express application instance.
|
||||
* @returns An initialized Express application object.
|
||||
*/
|
||||
const app = express();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Handle GET request for homepage route ('/').
|
||||
* Send back a simple text response.
|
||||
|
Loading…
x
Reference in New Issue
Block a user