/My_Wallet_Back

This web application will help you to have greater control of your expenses, as you can register your debts and your credits, and you will always have your updated balance at hand! And don't worry, you have all your extract history saved in a database!

Primary LanguageJavaScript

MyWallet

The myWallet app is here to help you control your expenses, to avoid surprises at the end of the month!

API available at https://api-my--wallet.herokuapp.com/ Try it out now at https://my-wallet-fronf.vercel.app/

About

This web application will help you to have greater control of your expenses, as you can register your debts and your credits, and you will always have your updated balance at hand! And don't worry, you have all your extract history saved in a database!Below are the implemented features:

  • Sign up
  • Log in
  • Log out
  • List full extract
  • Add new output (debt)
  • Add new entry (credit)

Technologies

The following tools and frameworks were used in the construction of the project:

How to run

  1. Clone this repository
  2. Install back-end dependencies
npm i

3.Create an environment variables file in the project root (.env) and configure a variable with the name 'PORT' that receives the port you want to use, and another called 'MONGO_URI' with the url of the bank, Example:

MONGO_URI = mongodb://localhost/:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=ApiMyWallet
PORT=5000
  1. Run the back-end with
npm start or node app.js
  1. Clone the front-end repository at https://github.com/kethllen/MyWallet_Fronf
  2. Follow instructions to run back-end at https://github.com/kethllen/MyWallet_Fronf