mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
70f51bda58
added build npm in docker
60 lines
1.5 KiB
Markdown
60 lines
1.5 KiB
Markdown
# Currency Exchange (MYR, RMB, USD)
|
|
|
|
> A currency exchange system that user able to book their rate and upload their backin slip. For admin backend, they can perform booking with supplier, update booking status, etc. Using a Laravel-Vue SPA starter project template.
|
|
|
|
<p align="center">
|
|
<img src="https://i.imgur.com/NHFTsGt.png">
|
|
</p>
|
|
|
|
## TechStack
|
|
|
|
- Laravel 5.6
|
|
- Vue + VueRouter + Vuex + VueI18n + ESlint
|
|
- Pages with dynamic import and custom layouts
|
|
- Login, register and password reset
|
|
- Authentication with JWT
|
|
- Socialite integration
|
|
- Bootstrap 4 + Font Awesome 5 + Element UI
|
|
|
|
## Installation
|
|
- Install [Git](https://git-scm.com) , [Docker CE](https://docs.docker.com/) and [Docker compose](https://docs.docker.com/compose/install/), [Node](https://nodejs.org/en/download/)
|
|
- Clone the repo into working folder `git clone git@gitlab.com:CIEFWorldwideSdnBhd/exchange.git`
|
|
- `cd` in your working folder
|
|
- Copy env file `cp .env-example .env`
|
|
- Run `docker-compose up`
|
|
- Open another git bash run `npm install`
|
|
- Run `npm run watch`
|
|
|
|
## Usage
|
|
|
|
#### Test Credentials
|
|
`user@example.com:secret`
|
|
`admin@example.com:secret`
|
|
|
|
#### Development
|
|
|
|
```bash
|
|
# build and watch
|
|
npm run watch
|
|
|
|
# serve with hot reloading
|
|
npm run hot
|
|
```
|
|
|
|
#### Production
|
|
|
|
```bash
|
|
npm run production
|
|
```
|
|
|
|
#### Todo
|
|
- [ ] Unit test on supplier booking
|
|
- [ ] Continous delivery with npm build
|
|
- [ ] Add comments in controller functions
|
|
- [ ] Store files to AWS S3
|
|
- [ ] Real time rate update
|
|
|
|
## Changelog
|
|
|
|
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
|