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