Skip to content

backend for zwallet, a digital wallet application for mobile.

Notifications You must be signed in to change notification settings

tavvfiq/zwallet-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend For Zwallet

This is the dependency of Zwallet App. Built with NodeJs using the ExpressJs Framework. Express.js is a web application framework for Node.js.

More about expressJS

Built With

Express.js Node.js

Requirements

  1. Node Js
  2. Node_modules
  3. Postman
  4. Web Server (ex. localhost with XAMPP or LAMPP)

How to run the app ?

  1. Open app's directory in CMD or Terminal
  2. Type npm install
  3. Make new file a called .env, set up first here
  4. Turn on Web Server and MySQL can using Third-party tool like xampp or lampp, etc.
  5. Create a database with the name note, and Import file backend-express.sql to phpmyadmin
  6. run the server with npm run server
  7. Open Postman desktop application or Chrome web app extension that has installed before
  8. Choose HTTP Method and enter request url.(ex. localhost:3000/)
  9. You can see all the end point here

Set up .env file

Open .env file on your favorite code editor, and copy paste this code below :

HOST="your_host_name"
USERNAME= "your_mysql_username"
PASSWORD= "your_mysql_password"
DB= "your_database_name"
PORT=your_port //default 3000

SOCKET_PORT=your_socket_port //default 8000

API_URL="your_api_url"
EMAIL="your_email"
EMAIL_TOKEN='your_email_token'
SECRET_KEY = "your_secret_key"
RESET_PASSWORD_KEY = "your_reset_password_key";

Postman Documentation

You can grab the Postman documentation here

About

backend for zwallet, a digital wallet application for mobile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published