Giter VIP home page Giter VIP logo

ongkir-app's Introduction

Ongkir App (Raja Ongkir)

Berikut ini adalah mini project aplikasi untuk menghitung biaya ongkos pengiriman barang antar kota atau antar provinsi, menggunakan Raja Ongkir API include Ultimate Authentication V2 disini, menggunakan MERN + Redux and Redux Thunk beserta kawan - kawannya, untuk Ultimate Authentication V1 disini

Cara Menjalankan Aplikasi

Install module terlebih dahulu sesuai dengan apa yang tertera di package.json, kemudian buka terminal dan silahkan ketikan npm install atau yarn add, setelah selesai menginstall module tersebut lalu silahkan jalankan dengan cara mengetikan npm run server:start atau yarn server:start untuk server dan megetikan npm run client:start atau yarn client:start untuk client pada terminal.

Cara Deploy Aplikasi

  • install Heroku CLI terlebih dahulu disini
  • buka terminal ketikan heroku login pada terminal
  • buat nama domain anda sendiri dengan mengetikan heroku create di ikuti dengan nama yang anda inginkan
  • ketikan git Init -> git add . -> git commit -m pada terminal
  • kemudian tes aplikasi via local server Heroku dengan mengetikan heroku local jika sudah berjalan dengan lancar, tekan CTRl + C dan kemudian ketikan git push heroku master

Front-End Endpoit Routes:

Nama Route Name
Home http://localhost:3000
Login http://localhost:3000/signin
Register http://localhost:3000/signup
Profile http://localhost:3000/profile
Activation Account http://localhost:3000/activation/:id
Forgot Password http://localhost:3000/forgot-password
Reset Password http://localhost:3000/reset-password/:id'
Resend Token http://localhost:3000/resend-token'
Verification Token Activation Account http://localhost:3000/verify-activation/:id'
Verification Token Reset http://localhost:3000/verify-reset/:id'
Logout http://localhost:3000//logout'

Back-End Endpoit Routes:

Nama Route Name Request Method
User Endpoint
Login http://localhost:3001/api/user/login POST
Register http://localhost:3001/api/user/register POST
Resend Token http://localhost:3001/api//user/resend-token POST
Forgot Password http://localhost:3001/api/user/forgot-password POST
Reset Verification http://localhost:3001/api/user/reset-password/verify/:id GET
Reset Password http://localhost:3001/api/user/reset-password/:id POST
Activation Account http://localhost:3001/api/user/activation/:id' GET
Social Login http://localhost:3001/api/user/social-login' GET
Social Register http://localhost:3001/api/user/social-register' GET
Profile Endpoint
Edit Profile http://localhost:3001/api/user/profile/:id' GET
Update Profile http://localhost:3001/api/user/profile/:id POST
Ongkir Endpoint
City http://localhost:3001/api/cekongkir/city' GET
Province http://localhost:3001/api/cekongkir/prov POST
Kabupaten http://localhost:3001/cekongkir/kab' GET
Cost http://localhost:3001/api/cekongkir/cost GET
Social Endpoint
Google http://localhost:3001/auth/google' GET
Facebook http://localhost:3001/auth/facebook POST
Github http://localhost:3001/auth/github' GET

ongkir-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.