This is the backend repo for MyWallet. A financial management app.
https://github.com/Deltinha/mywallet-front
- NodeJS
- ExpressJS
- PostgreSQL
- nodemon
- pg
- dotenv
- cors
- Jest
- supertest
- bcrypt
- uuid
- joi
- Clone this repo
git clone https://github.com/Deltinha/mywallet-back.git
- Install NPM packages for the back-end repo
npm install
- Insire the repository folder, create an target database and restore the dump
sudo -u postgres createdb -T template0 db_name
sudo -u postgres psql db_name < 'dump.sql'
-
Create a new file called
.env
in the root folder using.env-example
as template. Feed the newly created file with the info of your database. -
Run the app in development mode
npm run dev