Zwallet is a digital wallet application that simplifies your financial needs and can save a lot of time on your banking needs with just one application. Zwallet is in the field of digital banking, which is increasingly developing rapidly as technology advances. This application is able to save money, make transfers between users or top up balances.
-
JWT authentication
-
Nodemailer for email verification
-
Upload image using multer
-
Form validation using joi
-
CRUD for all tables required in the application
- Clone the repository
git clone https://github.com/chaerulmarwan20/zwallet-backend.git
cd zwallet-backend
- Install package
npm install
-
Create a new database with a name
zwallet
and importzwallet.sql
from this repository -
Create .env file
# Host & Port
HOST=
PORT=
PORT_FRONTEND=
# Database
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=zwallet
# Secret Key
SECRET_KEY=
# Email
EMAIL_USER=
EMAIL_PASS=
- Run application
npm run dev
Or
npm start