Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awkweb/notational
Real-time notes app built with Vue.js
https://github.com/awkweb/notational
Last synced: 2 days ago
JSON representation
Real-time notes app built with Vue.js
- Host: GitHub
- URL: https://github.com/awkweb/notational
- Owner: awkweb
- License: mit
- Created: 2017-02-28T03:11:39.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-06-14T19:48:27.000Z (over 3 years ago)
- Last Synced: 2024-10-30T08:51:15.269Z (13 days ago)
- Language: Vue
- Homepage: https://notational.co
- Size: 5.18 MB
- Stars: 409
- Watchers: 10
- Forks: 45
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notational, notes at the speed of thought.
Notational encourages you to keep your hands on the keyboard so you can create, update, and find notes really quickly. The UX is based on the popular macOS app, [Notational Velocity](http://notational.net/) (but not affiliated in any way).
![Notational screenshot](screenshot.png)
## Firebase Setup
Notational uses Firebase (it's [pretty abstracted so it could change](https://github.com/tmm/notational/blob/master/src/store/api.js)). You can spin up your own instance for testing or local development. [Check out this issue for more info.](https://github.com/tmm/notational/issues/3)
You will also need to create a `settings.js` file in the root directory that contains your [Firebase](https://firebase.google.com/) information:
```js
// settings.jsconst ENV = {
firebase: {
apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
authDomain: "YOUR-APP-NAME.firebaseapp.com",
databaseURL: "https://YOUR-APP-NAME.firebaseio.com",
storageBucket: "YOUR-APP-NAME.appspot.com",
messagingSenderId: "XXXXXXXXXXXX"
}
}export default ENV
global.ENV = ENV
```The initial DB schema should look like the following (`default_notes` is the only required key-value pair):
```js
{
"default_notes" : {
"notes" : [
{
"body" : "Hey-oh!\n\nWelcome to Notational – the fastest note-taking app on the web.\n\nNotational makes it easy to keep your hands on the keyboard so you can do things like... type notes really quickly! (See *Useful Shortcuts* above.)\n\nAlso, no need to save your work as everything you type (in this box) is ~automagically~ saved.\n\n—Tom",
"date_created" : "Sun Mar 05 2017 18:15:27 GMT-0500",
"date_modified" : "Sun Mar 05 2017 18:25:02 GMT-0500",
"id" : 1,
"name" : "Welcome (Click Me)"
},
...
]
},
"public_notes" : {
// Auto created
},
"users" : {
// Auto created
}
}
```## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# deploy on Firebase
npm run deploy
```## License
Released under the MIT license. See LICENSE for details.