feat: init-express-backend #6

Merged
Clement merged 38 commits from feat--init-express-backend into master 2024-05-06 19:20:30 +00:00
2 changed files with 13 additions and 1 deletions
Showing only changes of commit 2d2bb81b93 - Show all commits

11
.github/workflows/run_back_test.yml vendored Normal file
View 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

View File

@ -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.