Skip to content
📗 A CRUD app for code snippets.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
js
models
public
routes
views
.editorconfig
.gitattributes
.gitignore
.jscsrc
.jshintrc
README.md
Vagrantfile
app.js
dump.rdb
install-mongo.sh
install-node.sh
install-redis.sh
package.json
provision.sh

README.md

Snippet

Current Version Live Demo

This is Loke Carlsson's snippet web application. It is powered by Socket.io, Express and MongoDB.

Snippet Preview

Demo

You can test a fully working live demo at https://snippet.lokecarlsson.se


Features

  • Registration of account
  • Create, edit and delete of snippets
  • Dashboard with full notification of user actions
  • Logged in users can live view other users edit snippets in realtime
  • Emphasise on security

Unregistered useres can:

  • View snippets

Registered useres can:

  • Create snippets
  • Edit snippets
  • Delete snippets
  • Access the dashboard

Setup

Clone this repo to your machine or server and run the following command to install all the dependencies.

$ npm install

Optional setup

You can use this tutorial to set up git hooks but for the sake of just running the application there is no need.

Install PM2 to start the node application as a daemon.

Install PM2

$ npm install pm2 -g

Start the application

$ pm2 start app.js

License

This project is licensed under the terms of the ISC license.


forthebadge forthebadge forthebadge

You can’t perform that action at this time.