Code Monkey home page Code Monkey logo

parliamentary-system's Introduction

System Parlamentarny

GitHub Workflow Status Crowdin translation status GitHub package.json version Uptime ratio API uptime ratio License

Aplikacja webowa do przekazywania dokumentów Parlamentu Studenckiego.

Tech Stack

api: Strapi

web: Next, React, Chakra UI, Emotion, TypeScript

Ogólne: Docker, GitHub Actions, GraphQL

Environment Variables

Do uruchomienia projektu niezbędne jest uruchomienie poniższego kodu oraz ustawienie poniższych zmiennych

cp .env.example .env && cp api/.env.example api/.env && cp web/.env.example web/.env

.env

  • DATABASE_NAME
  • DATABASE_USERNAME
  • DATABASE_PASSWORD
  • DATABASE_FOLDER

api/.env

  • USOS_CLIENT_ID
  • USOS_CLIENT_SECRET

gdzie klucze do USOS uzyskasz od swojej uczelni

  • DATABASE_NAME
  • DATABASE_USERNAME
  • DATABASE_PASSWORD

tak samo jak wyżej w .env

  • WEB_URL - url frontendu

web/.env

  • NEXT_PUBLIC_API_URL - url backendu
  • NEXTAUTH_URL - url frontendu
  • NEXTAUTH_SECRET - losowo wygenerowany sekret
  • GOOGLE_CLIENT_ID - Google OAuth client id
  • GOOGLE_CLIENT_SECRET - Google OAuth secret token
  • USOS_CLIENT_ID
  • USOS_CLIENT_SECRET

tak samo jak wyżej w api/.env

Instalacja

Wykonaj poniższe polecenia

git clone https://github.com/informatyzacja/parliamentary-system.git
cd parliamentary-system
yarn install --immutable
turbo dev

Deployment

Aby dokonać deployu projektu uruchom podane poniżej polecenia

docker compose -f docker-compose.yml up --force-recreate -V

Contributing

Zgłaszanie błędów mile widziane!

Projekt jest prowadzony przez wyznaczone osoby i nie przyjmuje na ten moment PR z zewnątrz.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.