This is Loke Carlsson's snippet web application. It is powered by Socket.io, Express and MongoDB.
You can test a fully working live demo at https://snippet.lokecarlsson.se
- 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
Clone this repo to your machine or server and run the following command to install all the dependencies.
$ npm install
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.
$ npm install pm2 -g
Start the application
$ pm2 start app.js
This project is licensed under the terms of the ISC license.