Skip to content

Adklps/csengo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Csengo

Techstack

I choose a rather ez to program techstack because this is a small project. It doesn't need to be that fast either since its just a voting system.

Backend: Typescript

Frontend: JS

  • Framework: Vue with Vite
  • CSS: Custom & examples from codepen (MIT)

Building for production

  1. Clone the repo
git clone https://github.com/hldup/csengo
  1. Build docker image for server
cd csengo/server && docker build -t hldup/csengoserver .
  1. Build docker image for the frontend
cd .. && cd client && docker build -t hldup/csengoclient .
  1. Edit docker compose & run via docker compose
docker compose up

Developement

Requirements:

  • Redis database
  • Postgres database

Client (frontend)

  1. Install packages
yarn install
  1. Create .env file
VITE_API_URL=http://url-of-host:3000/
  1. Run the client
yarn dev

Server (backend)

  1. Install packages
npm install
  1. Create .env file
cd server & cp .env.example .env
  1. run the server
npm run serve

Contributing & feature request

You can always make an issue if you found a vulnerability / bug.

Authors

  • Máté - frontend & backend
  • Klepi - operate and maintain w <3

Acknowledgments

Developed listening to

song

About

A basic voting system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 50.8%
  • Vue 37.8%
  • CSS 3.9%
  • Python 3.4%
  • SCSS 2.0%
  • Mermaid 1.4%
  • Other 0.7%