https://github.com/afrianjunior/flip-frontend
for interview test, https://flip.savtech.xyz
https://github.com/afrianjunior/flip-frontend
Last synced: 12 months ago
JSON representation
for interview test, https://flip.savtech.xyz
- Host: GitHub
- URL: https://github.com/afrianjunior/flip-frontend
- Owner: afrianjunior
- Created: 2020-05-02T22:29:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T01:38:38.000Z (over 3 years ago)
- Last Synced: 2025-02-22T00:41:25.497Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.63 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Before run this application
### Please setup server nginx as backend rest-ful
```bash
$ cd server
$ docker build -t flip-server-test:latest .
$ docker run -p 9000:80 flip-server-test:latest
```
Now, the server run on port 9000 or http://localhost:9000
### Copy-paste the .env file
```bash
$ cp .env.example .env
```
Edit the BASE_URL to your server
### Install packages
```bash
$ yarn
```
### Run
```bash
$ yarn dev
```
Server run on port 3000
### build
```bash
$ yarn build
```
### Run Production
```bash
$ yarn start
```
### If you want to run with Docker
```bash
$ docker build -t flip-frontend:latest .
$ docker run -p 3000:3000 flip-frontend:latest
```