Code Monkey home page Code Monkey logo

hu8813 / 42_ft_transcendence Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 14.15 MB

๐Ÿ“ 42 transcendence ๐Ÿ“ ft_transcendence school project with django backend and pure javascript frontend (vanilla js) pong42

Home Page: https://pong42.vercel.app

CSS 8.71% HTML 8.31% JavaScript 60.71% Makefile 0.24% Dockerfile 0.28% Python 19.90% Shell 1.86%
42 ft-transcendence javascript pong transcendence vanilla vanilla-javascript vanilla-js django js

42_ft_transcendence's Introduction

Pure JavaScript Frontend with Django Backend

๐Ÿ“ 42 Transcendence: Pong42 Project ๐Ÿ“

Welcome to Pong42, a school project 42 Transcendence. This project features a combination of a Django backend and a pure JavaScript (vanilla JS) frontend.

Screenshot

Key Features of 42 ft_transcendence Project

  • Django Backend: Robust and scalable backend developed using the Django framework.
  • Vanilla JavaScript Frontend: Clean and efficient frontend built with pure JavaScript.

Project Overview for 42 transcendence

Pong42 is designed to demonstrate the capabilities of integrating a Django backend with a vanilla JavaScript frontend.

Installation and Setup for Pong42

To get started with Pong42, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/hu8813/42_ft_transcendence.git pong42
    cd pong42
  2. Create .env file: just rename sample.env to .env and use it as Reference

  3. Run:

    make
    # OR
    docker compose up

Live Demo of 42 Transcendence Project

Check out the live demo of the Pong42 project: Pong42 Website

Keywords

  • Django backend
  • Vanilla JavaScript
  • Pure JS frontend
  • ft_transcendence project
  • 42 Transcendence
  • Real-time web application
  • Responsive web design

Enhance your web development skills with the leveraging the power of Django and vanilla JavaScript to create a dynamic and responsive web application as part of the 42 Transcendence course.

42_ft_transcendence's People

Contributors

ddyankov28 avatar ehabelasam avatar hu8813 avatar vstockma avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

42_ft_transcendence's Issues

Some API's endpoints Does not work

Hello, I've tested some api endpoints and there is an error for multiple ones :

  1. api/ping/
  2. api/login/
    The issue is when this endpoints are requested, you return a Python error as JSON response : "{"error": "cannot access local variable 'e' where it is not associated with a value"}"
    Solution :
    In login_view() located in backend/myapp/views.py path, Line 1106, you are returning str(e) by using else statement, knowing that e will only work inside an except statement, and in that special case, it's not really an error because user is just using GET request rather then POST, so I suggest you use a custom method message instead of e.

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.