Skip to content

7eliassen/VaultNote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaultNote

VaultNote is a full-stack application (FastAPI | React) for taking notes which I am developing for learning purposes. So far, I have finished only the basic functionality without note encryption.

At the moment, the app has the following functionality:

  • User registration and login
  • Storing, deleting, creating, and editing notes, searching notes, and auto-saving notes

In the future (maybe) I will add:

  • Note encryption
  • Formatting notes in Markdown
  • App for smartphones (There is no adaptive design now)

Home page Home page

Login and registration pages Login and registragion pages


Instalation

Backend

[OPTIONAL] You can create and activate virtual environment python -m venv .env

pip install -r backend/requirements.txt

After this create backend/src/app/config.py file

Then write there SECRET_KEY = "..." (You can generate secret key by openssl rand -hex 32 in your terminal.)

Then start server uvicorn --host 0.0.0.0 --port 8000 main:app. (You must be in /backend/src folder).

Frontend

For frontend you can use any web server. For example nginx.

cd frontend/

npm install

npm run build

mv dist/ /var/www/html

also you must replace try_files $uri $uri/ =404;on try_files $uri $uri/ /index.html;

in /etc/nginx/sites-enabled/default

And you need to replace API_URL in ApiUrl.jsx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •