Skip to content

Latest commit

 

History

History

rest-api-app

REST API App

Description

A basic address book app built using a REST API on Express and a Svelte frontend.

Prerequisites

  • Node v18 or above

Running the demo

  1. Install dependencies and build the apiTypes project.
npm install
npm run build:apiTypes
  1. In a new window, run the API server.
npm run dev:api
  1. In a new window, run the client web server.
npm run dev:client
  1. You can test that the API is running properly by browsing to the following link:
http://localhost:9090/v1/contacts
  1. Visit the address book front end app.
http://localhost:5173