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
- ORM: Sequelize
- Web server: Express-js
- Validator: express-validator
Frontend: JS
- Clone the repo
git clone https://github.com/hldup/csengo
- Build docker image for server
cd csengo/server && docker build -t hldup/csengoserver .
- Build docker image for the frontend
cd .. && cd client && docker build -t hldup/csengoclient .
- Edit docker compose & run via docker compose
docker compose up
Requirements:
- Redis database
- Postgres database
- Install packages
yarn install
- Create .env file
VITE_API_URL=http://url-of-host:3000/- Run the client
yarn dev
- Install packages
npm install
- Create .env file
cd server & cp .env.example .env- run the server
npm run serve
You can always make an issue if you found a vulnerability / bug.
- Máté - frontend & backend
- Klepi - operate and maintain w <3
- Login - foolish developer
- Animated blobs - Ksenia Kondrashova