TankieNewsv2
v2 of the Tankie News website built using Svelte/Sapper, MongoDB, and QuillJS.
Building from scratch, including functional:
- Content Management System (CMS)
- User Sessions
Includes:
- Bcrypt (securely salt, hash, and store password in database)
- JWT
- Secure cookies
- HTTP Only cookies
- Svelte-Image to generate resized images server side, storing in static/g and serve correct size to client
Prerequisites
- Install node.js
- Install and run MongoDB (OSx I recommend instructions)
- Clone repository to your device
Usage
- Navigate to root of project directory:
cd projectRoot
- Install Node dependencies:
npm install
- Run in dev mode:
npm run dev