Skip to content

ardhikarn/rythzpos-backend-API-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressJS - RYTHZPOS RESTfull API

About The Project

This project is a my backend project, the name is Caffeshop App. Its main purpose is to make cafe or shop owner easier to checkout and manage datas in database. More about Express. More about Express

Built With

Express.js Node.js

Requirements

  1. Node Js
  2. Node_modules
  3. Postman
  4. Web Server (ex. localhost)

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, etc.
  5. Create a database with the name caffeshop, and Import file sql to phpmyadmin
  6. Open Postman desktop application or Chrome web app extension that has installed before
  7. Choose HTTP Method and enter request url.(ex. http://127.0.0.1:3000/)
  8. 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 :

DB_HOST=localhost // Database host
DB_USER=root // Database user
DB_PASS= // Database password
DB_DB=rythz-pos // Database name

PORT=3000 // PORT
IP=127.0.0.1 // IP
URL=http://localhost:8080 //URL to your local website

USER= //Input your email here
PASS= //Input your email's password here

KEY=RYTHZPOS

Postman Documentation

Link Postman click here

About

API untuk RythzPos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published