svelte-news-app-backend Svelte Themes

Svelte News App Backend

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

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
    
  3. Run npm install
  4. 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)

Top categories

Loading Svelte Themes