Just Post-It is a simple note-taking app aiming to provide a novel experience by allowing the user to just drop notes on a free canvas.
As this is a fork from a personal project presented here and detailed in this blog post, some basic features still need to be implemented before production use.
Here are the planned features:
- Full description of all available features
- Category manager UI
- Settings UI
- Add more settings (spell check, auto correct, etc...)
- About pane in settings with product version and “Update available” indicator in settings
- Full i18n support (translations, reading direction, …)
- Keyboard shortcuts
- Global export of post-it
- Improve app responsive
- Make the app installable
- Demo website based on the real app
- …?
This list is non-exhaustive and expected to evolve.
- npm
- node >= 18
- pm2
Once you installed npm, node and pm2, follow these instructions.
# Clone this repo on your server in the desired location
git clone https://github.com/Jean-Tinland/just-post-it
# Go to the cloned folder
cd ./just-post-it
# This command will init the database
npm run init
# Duplicate the .env example
cp .env.example .env
Fill in the required information inside your .env:
PROD_URL=https://your-production-url.com # the production url of your app
PORT=4000 # the port used by the app
JWT_SECRET=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # the jwt secret, it can be anything like an UUID
JWT_DURATION=90 # the jwt token duration in days
PASSWORD=xxxxxxxx # your password
Just Post-It is now ready to run.
Still in the just-post-it
folder:
# This will start the app in the background with pm2
npm run launch
You can use either Apache or nginx to setup Just Post-It and make it accessible from the web.
Tip
Once you launched just-post-it
, pm2 will tell you that the process list is not saved. You can run pm2 save
command in order to automaticaly restart all pm2 processes if your server is restarted.
# This will stop the app, pull the latest changes and relaunch it
npm run update
Warning
Your Just Post-It app will be down during the update.