The frontend requires the backend project to be configured and running, otherwise, you will not be able to do anything. The reason is that the backend exposes a JSON API, with which the frontend interacts using AJAX.
Front-end created using Svelte.
-
src/components/*
: Contains re-usable components that don't interact with any API(s). -
src/routes/*
: Contains the pages of our app. They usually take care of calling the API(s) and using generic components. -
src/stores/*
: Stores of our app. -
src/*
: Contains main app setup and other utility libraries.
Install npm dependencies:
npm install
Run project:
npm run dev
Make sure you have the backend HTTP server running.