A satirical blog with its own lightweight CMS, which all runs on Sapper.
Setup
Requires Node.js and MongoDB
Create a MongoDB database for howfeed:
$ mongo
> use howfeed;
Set up .env.example as .env
Then install dependencies and start a local server:
$ npm i
$ npm run dev
Usage
Anyone can sign up for an account, but to designate a certain account as an author so they can publish articles, you will need to set the author field to true in Mongo:
$ mongo
> use howfeed;
> db.users.updateOne({username: 'myuser1'}, {$set:{author: true}})
Then the user should logout and log back in.
					Languages
				
				
								
								
									Svelte
								
								65.9%
							
						
							
								
								
									JavaScript
								
								27.5%
							
						
							
								
								
									EJS
								
								4.1%
							
						
							
								
								
									CSS
								
								1.8%
							
						
							
								
								
									HTML
								
								0.7%
							
						
					