A fully fledged fullstack application built with Golang/Echo & VueJs including CRUD operations
PilEk-Vue (PemiLu Elektronik) Berbasis VueJs
This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Echo & VueJs including CRUD operations, authentication, routing, pagination, and more.
Note:
Open src/services/auth-header.js
and modify return
statement for appropriate back-end.
export default function authHeader() {
let user = JSON.parse(localStorage.getItem('user'));
if (user && user.accessToken) {
return { Authorization: 'Bearer ' + user.accessToken }; // for Spring Boot back-end
// return { 'x-access-token': user.accessToken }; // for Node.js Express back-end
} else {
return {};
}
}
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint