GlassHub Task

Features

Backend:

  • Node 18
  • Services Design Pattern
  • Repositories Design Pattern
  • Multer for file upload handling
  • joi for Validation
  • PostgreSQL && Sequelize
  • Unit Tests
  • Docker

Frontend:

  • Vue.js 3
  • Nuxt.js 3
  • Tailwind CSS
  • Axios
  • vue3-google-map
  • Unit Tests
  • Docker

Installation

Backend

  • Configuration setup:

    • Go to /config folder
    • Edit the config.js file.
    • Make sure PostgreSQL is installed and running.
  • Run the following commands:

    • npm install
    • npx sequelize-cli db:migrate
    • npm start

Check if the backend is running by visiting http://localhost:4000

Frontend

  • Using Node 18.12.0

  • Run the following commands:

    • yarn install
    • yarn dev

Check if the frontend is running by visiting

http://localhost:3000