Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ebf999d
feat : updated the readme file.
Techharik Apr 20, 2026
5dc2b20
feat : Add git workflows for ci.
Techharik Apr 20, 2026
32e881c
fix : update git workflows for ci.
Techharik Apr 20, 2026
846e1b7
feat: add test cases and updated the ci
Techharik Apr 20, 2026
0f39f73
feat: add test cases and updated the ci
Techharik Apr 20, 2026
c9f6bd5
fix: Worflow installation fix
Techharik Apr 20, 2026
a71624a
fix: the test cases
Techharik Apr 20, 2026
14ae8b2
fix: the test cases
Techharik Apr 20, 2026
95afbdf
fix: sync lock file
Techharik Apr 20, 2026
3ab1d21
fix: the test cases
Techharik Apr 20, 2026
c5a933f
fix: workflows
Techharik Apr 20, 2026
26dd93f
fix: workflows
Techharik Apr 20, 2026
83f0d21
feat:Added the code coverage in the ui
Techharik Apr 20, 2026
fdee3c1
fix: updated the package json with test coverage
Techharik Apr 20, 2026
aa514b6
feat : Readme with workflows
Techharik Apr 20, 2026
ab87b58
feat : Update on readme
Techharik Apr 20, 2026
39ed0f9
feat : Update on readme
Techharik Apr 20, 2026
637b416
fix: ci formatiing added
Techharik Apr 20, 2026
1495761
fix: ci formatiing added
Techharik Apr 20, 2026
0e7d7eb
fix: ci formatiing titleadded
Techharik Apr 20, 2026
b0fcf73
feat : Readme with workflows
Techharik Apr 20, 2026
26cabaf
fix : ci formatting
Techharik Apr 20, 2026
eb9adb2
fix : ci intendation in ci.yml
Techharik Apr 20, 2026
a0ba67b
fix : ci intendation in ci.yml
Techharik Apr 20, 2026
1bedaab
fix :Added the linting for the cli
Techharik Apr 20, 2026
fd73185
fix :Added the linting for the cli
Techharik Apr 20, 2026
6cdf84b
fix : removed the unused function in main.ts
Techharik Apr 20, 2026
ed702c6
fix : liniting security push .
Techharik Apr 20, 2026
2a0c1d7
fix : liniting security push .
Techharik Apr 20, 2026
1cafc99
feat: Added cd.yml for deploymeny
Techharik Apr 20, 2026
204fac5
fix: Added cd.yml for deployment
Techharik Apr 20, 2026
218fe7f
fix: Added cd.yml for deployment
Techharik Apr 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .getApiKey.test.ts.swp
Binary file not shown.
Binary file added .github/workflows/.ci.yml.swn
Binary file not shown.
Binary file added .github/workflows/.ci.yml.swo
Binary file not shown.
Binary file added .github/workflows/.ci.yml.swp
Binary file not shown.
25 changes: 25 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
[main]
jobs:
deploy:
name : Deploy
runs-on : ubuntu-latest

steps:
- name : checkout the code
uses : actions/checkout@v4

- name : Set up Node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run : npm ci

- name : Build The Apps
run : npm run build


47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ci

on:
pull_request:
branches: [main]

jobs:
tests:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Run Tests
run: npm run test -- --coverage

style:
name: Style
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Formatting checks
run: npm run format:check

- name : Liniting checks
run : npm run lint -- --max-warnings=0
Binary file added .package.json.swn
Binary file not shown.
Binary file added .package.json.swo
Binary file not shown.
Binary file added .package.json.swp
Binary file not shown.
Binary file added .package.swo
Binary file not shown.
Binary file added .package.swp
Binary file not shown.
26 changes: 26 additions & 0 deletions 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# learn-cicd-typescript-starter (Notely)

This repo contains the typescript starter code for the "Notely" application for the "Learn CICD" course on [Boot.dev](https://boot.dev).

## Local Development

Make sure you're on Node version 22+.

Create a `.env` file in the root of the project with the following contents:

```bash
PORT="8080"
```

Run the server:

```bash
npm install
npm run dev
```

_This starts the server in non-database mode._ It will serve a simple webpage at `http://localhost:8080`.

You do _not_ need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course!
Hari's version of Boot.dev's

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@


![test coverage](https://github.com/Techharik/learn-cicd-typescript-starter/actions/workflows/ci.yml/badge.svg)

# learn-cicd-typescript-starter (Notely)

This repo contains the typescript starter code for the "Notely" application for the "Learn CICD" course on [Boot.dev](https://boot.dev).
Expand All @@ -22,3 +26,5 @@ npm run dev
_This starts the server in non-database mode._ It will serve a simple webpage at `http://localhost:8080`.

You do _not_ need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course!
Hari's version of Boot.dev's

19 changes: 19 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import { defineConfig } from "eslint/config";
import pluginSecurity from "eslint-plugin-security";

export default defineConfig([
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
plugins: { js },
extends: ["js/recommended"],
},
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
languageOptions: { globals: globals.node },
},
tseslint.configs.recommended,
pluginSecurity.configs.recommended,
]);
Loading