GithubHelp home page GithubHelp logo

ras-drive / zion-password-manager Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 671 KB

open source password manager

License: Other

Rust 49.73% CSS 6.39% Makefile 1.80% Shell 5.85% Dockerfile 1.77% HTML 4.38% TypeScript 27.18% PLpgSQL 2.90%
rust backend-api full-stack password-manager rust-lang rust-web tokio-rs docker react react-router reactjs vite diesel diesel-rs postgresql postgresql-database vitejs actix actix-web docker-compose

zion-password-manager's Introduction

What is Zion?

GitHub CI Total Lines Closed Issues

Zion is a password manager being developed to be modern, cross platform, and secure with a backend written in Rust. currently the only frontend being developed for use is a webpage but eventually an android version will be released when the backend is stable.

Testing the project

First things first, if you aren't using Docker you need to setup a postgresql database

Any of the links below explain how to setup a postgresql database so pick your distribution (if yours isn't listed I prefer the Arch Docs)

You need to make sure you have a Rust toolchain installed

You also need to make sure you are using node 16, NVM (Node Version Manager) is the easiest way to do this.

install it and then run

nvm alias default 16

in order to test the project right now just run

make configure
make build
make run

going to LocalHost will now show the home page for Zion!

you can also run the test suite after configuring and building by running

make test

Running in Docker

To run with docker first check that the docker service has been started

sudo systemctl start docker.service

Then you can run it with Docker Compose

./docker-compose-run.sh

if you want to run the test suite you can run

./docker-compose-test.sh

Config

The provided config script installs NPM dependencies and performs database migrations. the .env file produced by it can also be modified to have the following variables

Variable Description
DATABASE_URL Postgresql database url
Test_DATABASE_URL Postgresql test database url
ADDR Ipv4 Address to run server on

License

This project is dual licensed under the MIT and Apache 2.0 license

zion-password-manager's People

Contributors

dependabot[bot] avatar ras-drive avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mvandermeulen

zion-password-manager's Issues

Improve login session cookie

The login session cookie is currently very bare and vulnerable. It should be verified with a uuid that can be checked against the database

Improve CI testing

The Docker Compose file should be improved to run a seperate container for ci testing than running it.

Rewrite the project back into Actix Web

Rocket hasn't had an update in a while and while I much prefer it over Actix Web for how easy it is to prototype things, I just can't justify using a framework with a single person working on it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.