Skip to content

A backend for a realtime pwa game that involve two players. built with Nest.js, Websocket, MySQL, TypeScript, Sequelize-ORM

Notifications You must be signed in to change notification settings

frckbrice/pockerplay-backend

Repository files navigation

POCKERPLAY GAME APP

Description

pockerplay is an application that permits two players to exchange choices and guesses in realtime.

Play Game

One player connects to app, creates a set of choice options, make his choice, then send those choice options to the second player for him to guess the choice made. If he finds the choice made by the first player, he gains one point. if not, he gain nothing.

The game has 5 rounds.

Motivation

the objective behind this game is to provide a fun and engaging game that can provide a break from daily stresses, offering relaxation and enjoyment.

Built With

  • FRONT-END: TypeScript NextJS v14.0.4, tailwindCss, socket.io-client, next-pwa

  • BACK-END: Nest.js , @nestjs/websockets, @faker-js/faker

  • DATABASE: MySQL, sequelize-typescript ORM

Prerequisites

Knowledge about TS:

  • Basic data structures:
  • Arrays
  • objects
  • Functions
  • Constructors
  • dependency injection
  • sequelize ORM
  • MySQL

Clone project

  • To get a local copy up and running follow these simple example steps.
  • Clone this repository with https://github.com/frckbrice/pockerplay-backend.git using your terminal or command line.
  • Change to the project directory by entering: cd pockerplay-frontend in the terminal.

Usage

  • $ git clone git@github.com:frckbrice/pockerplay-backend.git
  • $ cd pockerplay-frontend
  • $ `git checkout [feature]

Live Site

Link

Author

👤 Franck Brice Avom

Show your support

Give a ⭐️ if you like this project!

📝 License (optional)

This project is MIT licensed.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

About

A backend for a realtime pwa game that involve two players. built with Nest.js, Websocket, MySQL, TypeScript, Sequelize-ORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published