Skip to content

akbast/copilot-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copilot workspace demo

Setting up the Node.js Backend

This project includes a simple Node.js backend setup using TypeScript and Express. Follow the steps below to get it up and running:

  1. Navigate to the backend directory:

    cd backend
    
  2. Install the necessary dependencies:

    npm install
    
  3. To build the TypeScript files, run:

    npm run build
    
  4. To start the server, run:

    npm start
    

The server will start and listen on the port specified in the backend/src/server.ts file. You can access the health check endpoint at http://localhost:<port>/health to verify that the server is running.

Setting up the Angular Frontend

This project also includes an Angular frontend that interacts with the backend. Follow these steps to set it up:

  1. Navigate to the frontend directory:

    cd frontend
    
  2. Install the necessary dependencies:

    npm install
    
  3. To start the Angular development server, run:

    npm start
    

The Angular application will be available at http://localhost:4200. It fetches data from the backend's /health endpoint and displays it on the home page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published