Skip to content

Simple Project Management Stock Product with Golang Fiber Vue 3, JWT

Notifications You must be signed in to change notification settings

OkkyRoyDirgantara/fiber-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Simple App Stock

Requirements

  • MySQL
  • Golang
  • NodeJS

Installation

  • Clone this repository
git clone https://github.com/OkkyRoyDirgantara/fiber-vue.git

Installation Backend Golang

  • Go to folder backend
cd fiber-app
  • Install dependencies
go mod download
  • Create database
mysql -u root -p
CREATE DATABASE fiber-vue;
  • Copy .env.example to .env
cp .env.example .env
  • Edit .env file with your configuration

  • Run backend on port 3000

go run app.go

Installation Frontend Vue

  • Go to folder frontend
cd vue-app
  • Install dependencies
npm install
  • Copy .env.example to .env
cp .env.example .env
  • Edit .env file with configuration url backend
VITE_URL_BACKEND=http://localhost:3000
  • Run frontend
npm run serve

Postman API