svelte-news-app-backend icon indicating copy to clipboard operation
svelte-news-app-backend copied to clipboard

The backend of an example fullstack app built using svelte and node

trafficstars

Svelte News App — Backend

A fullstack application built with Svelte/Sapper on the frontend and Node/Express on the backend.

Demo    Frontend

This repo contains the backend server for serving the svelte news app.

Running it

  1. Download this repo
  2. Create .env in the root directory and add:
DATABASE=<your-mongodb-connection-string>
PORT=5000
  1. Run npm install
  2. Run npm run dev (or npm run start for production mode)

Soon: a blog series that shows you how to build this demo from scratch (follow me on twitter @tahazsh for updates)