GEWIS / sudosos-frontend

This monorepo contains all frontend projects and shared code for the SudoSOS platform, built with Vue 3 and TypeScript. Contributions are welcome!
https://sudosos.gewis.nl
5 stars 4 forks source link
dashboard point-of-sale typescript vue3
Logo

SudoSOS Frontend Monorepo

[![Uptime](https://uptime.gewis.nl/api/badge/2/uptime)](https://sudosos.gewis.nl/api/v1/ping) [![Build](https://img.shields.io/github/actions/workflow/status/GEWIS/sudosos-frontend/semver.yml?branch=main&label=Build)](https://github.com/GEWIS/sudosos-frontend/actions/workflows/semver.yml) [![Latest Release](https://img.shields.io/github/v/tag/GEWIS/sudosos-frontend?label=Latest)](https://github.com/GEWIS/sudosos-frontend/releases) [![Issues](https://img.shields.io/github/issues/GEWIS/sudosos-frontend)](https://github.com/GEWIS/sudosos-frontend/issues) [![Commit Activity](https://img.shields.io/github/commit-activity/m/GEWIS/sudosos-frontend)](https://github.com/GEWIS/sudosos-frontend/commits/main) [![Code Size](https://img.shields.io/github/languages/code-size/GEWIS/sudosos-frontend)](https://github.com/GEWIS/sudosos-frontend)

This monorepo contains all the frontend projects and common code for the SudoSOS.

Projects

  1. sudosos-nginx-proxy: Nginx proxy configuration for the SudoSOS stack.
  2. sudosos-frontend-common: Common code components, helper functions, services, and Pinia stores for frontend applications.
  3. sudosos-point-of-sale: Frontend application for the SudoSOS POS system built with Vue 3 and TypeScript.
  4. sudosos-dashboard: Dashboard frontend application for SudoSOS, rewritten in Vue 3.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the issue tracker.

Development quick start

You can quickly start development directly in your browser by using Codespaces. Otherwise you can use a local code editor such Jetbrains Webstorm (free via the university) or VSCode.

GitHub Codespaces

Step 1: Setting up the environment

Step 2: Launching dashboard/point-of-sale

[!WARNING] Login via GEWIS does not work on Codespaces, you will need to sign in using your m-account in the local login.

[!TIP] You can also use the Jetbrains IDE if you prefer that over the default Codespaces IDE. More information can be found here.

Local set up

Step 0: Prerequisites

Step 1: Installing

Step 2: Running the dashboard/point-of-sale

Proxying requests to different backends

In the respective .env files, you can change which backend the frontend uses in development by changing the proxy target in vite.config.ts. By default, this is set to the test backend (https://sudosos.test.gewis.nl/api/v1), but you can also change it to https://sudosos.gewis.nl/api/v1 for the production backend. Or you can change it to http://localhost:3000 if you are running the backend locally.

Contributors

This project exists thanks to all the people who contribute code.

Code contributors