64 Robots Standards 64 Robots Standards
  • Welcome

    • Introduction
  • Backend

    • Overview
    • Api Spec
    • Migrations
    • Models
    • Migrations
    • Routes
    • Testing
  • Frontend

    • File Structure
    • Backend API
    • Component structure
    • Module based development
    • Mixins
    • Helpers
    • Managing Assets
    • Router and Pages
    • Store
    • Testing
    • Tailwind
    • Validation
    • Storybook
    • Linter and Prettier
  • More

Backend API

Backend API

// auth.js
import http from '@/http'

export default {
  url: '/api/auth',

  login(credentials) {
    return http.post(this.url + '/login', credentials)
  }
}
Edit this page on GitHub
Api Spec Migrations