Password manager built with ReactJS, NodeJS, ExpressJS, ObjectionJS, KnexJS, JWT and MySQL.
The project contains the client and the server side together with migrations to populate the database.
The server side represents the back-end which is built with Node.js and Express.
In order for the server to run, you need to have installed NodeJS, MySQL and Knex globally.
Steps to follow to setup the project:
- Log in into your local MySQL DB, using a CLI or any GUI.
- Create a database for the current project.
- Navigate to the /server/config/ and create a file "dbcredentials.js" by copying the template and replace the database name, the username and password with your credentials.
- Open a CLI, navigate to the folder /server/ and run
npm i
- After all the packages are installed, while still in the server folder, run the following commands, in this order:
npm run migrate:rollback
npm run migrate:latest
npm run seed:run
- When all the migrations and seeds completed, you can start the server by running
npm run start-dev
and in the terminal the messageserver is listening on port 9090
should appear.
The client side represents the front-end and is built with ReactJS.
In your CLI, navigate to the client and run the following commands:
npm i
and npm run start
.