GithubHelp home page GithubHelp logo

transcendence's Introduction

ft_transcendence

This project is about creating a website for the mighty Pong contest in nestJs for the backend and Angular for the frontend using a postgres database.

42 OAuth API setup

Create an api on 42's intranet with the following data:

  • website: http://localhost:3000
  • redirect URI: http://localhost:4200/auth/oauth42/callback

Then, run locally make set_local_env. You will be prompted for your API client id (UID) and secret.

Building ft_transcendence - dev

~ git clone [email protected]:luweglarz/ft_transcendence.git
~ cd ft_transcendence
~ make set_local_env
OAUTH client ID: your 42 OAUTH credentials
OAUTH client secret (hidden): your 42 OAUTH credentials
~ make

Then you can access to the frontend throught: http://localhost:4200/

Chat - commands

Admin commands:

/admin [username] - Grant admin priviledge to an user.
/deadmin [username] - Revoke the admin priviledge of an admin.
/ban [username] ![chrono] - Ban an user from the chat room.
/kick [username] - Kick an user from the chat room.
/mute [username] ![chrono] -  Mute an user of the chat room.
/invite [username] - Invite an user into the chat room.
/password [password] - Change the password of a protected room.

User commands:

/leave - Leave the chat room.
/challenge [username] - Challenge to a private game an user of the chat room.
/whisper [username] [message] - Whisper to an user in the chat room.

transcendence's People

Contributors

luweglarz avatar jchemoun avatar ecogest avatar s-i-d-v avatar dependabot[bot] avatar

Watchers

 avatar

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.