GithubHelp home page GithubHelp logo

denisirkhin / 09-movie-lists Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.46 MB

Web app that fetches from The Movie Database API, where users can search for movies, write reviews, make lists, add movies to their lists and share them on social media.

JavaScript 86.14% HTML 1.04% CSS 12.82%

09-movie-lists's Introduction

movie-lists

Description

decode final project (Denis, Konrad, Jonathan)

Docs

Goodle doc

Github repository

Backend

Server port: 5050

Libraries

express, MongoClient, MongoDB by mLab,

Cookies

Session id generator to a digit from 10mln to 99,999mln

Name: __sid__ Value: 77003076 Expired: never

Endpoints

tests

get /tests

url: http://localhost:5050/tests method: get body: none

response:

{
    "success": true,
    "tests": [
        {
            "_id": "5c5f76a8bfc646349070c2d4",
            "name": "Forrest",
            "surname": "Gump"
        },
        {
            "_id": "5c66f9311621e129c25ccbfa",
            "name": "Buzz",
            "surname": "Lightyear"
        }
    ]
}
post /tests/add

url: http://localhost:5050/tests/add method: post body:

{
  "name": "Buzz",
  "surname": "Lightyear"
}

response:

{
    "success": true,
    "message": "test added",
    "doc": {
        "n": 1,
        "opTime": {
            "ts": "6658289882600833025",
            "t": 1
        },
        "electionId": "7fffffff0000000000000001",
        "ok": 1,
        "operationTime": "6658289882600833025",
        "$clusterTime": {
            "clusterTime": "6658289882600833025",
            "signature": {
                "hash": "lz4i5xB7ArylNevlRM0zqArcs8s=",
                "keyId": "6656070557034872833"
            }
        }
    }
}

users

get /users

url: http://localhost:5050/users method: get body: none

response:

{
    "success": true,
    "users": [
        {
            "_id": "5c670254552be03f4005fcd2",
            "email": "[email protected]",
            "password": "123"
        }
    ]
}

post /users/signup

url: http://localhost:5050/users/signup method: post body:

{
  "email": "[email protected]",
  "password": "123"
}

response:

Cookie: sid:

{
    "success": true,
    "message": "user added",
    "doc": {
        "n": 1,
        "opTime": {
            "ts": "6658320518602555393",
            "t": 1
        },
        "electionId": "7fffffff0000000000000001",
        "ok": 1,
        "operationTime": "6658320518602555393",
        "$clusterTime": {
            "clusterTime": "6658320518602555393",
            "signature": {
                "hash": "1nTYbjTK4zksxBzm/UmoeO9wlEs=",
                "keyId": "6656070557034872833"
            }
        }
    }
}
post /users/login

url: http://localhost:5050/users/login method: post body:

{
  "email": "[email protected]",
  "password": "123"
}

response:

Cookie: sid:

{
    "success": true,
    "message": "Logged in successfully"
}

lists

Frontend

Dev Client port: 3080

09-movie-lists's People

Contributors

code-magi avatar denisirkhin avatar konradobritzhauser avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

09-movie-lists's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

html
front/public/index.html
  • twitter-bootstrap 5.3.1
  • mdbootstrap 4.20.0
  • jquery 3.7.1
  • popper.js 2.11.8
  • twitter-bootstrap 5.3.1
  • mdbootstrap 4.20.0
npm
back/package.json
  • bcrypt ^5.0.0
  • body-parser ^1.18.3
  • concurrently ^8.0.0
  • cookie-parser ^1.4.4
  • cors ^2.8.5
  • dotenv ^16.0.0
  • express ^4.16.4
  • gravatar ^1.8.0
  • jsonwebtoken ^9.0.0
  • mongodb ^6.0.0
  • mongoose ^7.0.0
  • nodemon ^3.0.0
  • passport ^0.6.0
  • passport-jwt ^4.0.0
  • stripe ^13.0.0
  • validator ^13.7.0
front/package.json
  • axios ^1.0.0
  • concurrently ^8.0.0
  • jquery ^3.3.1
  • react ^18.0.0
  • react-dom ^18.0.0
  • react-draggable ^4.0.0
  • react-modal ^3.8.1
  • react-number-format ^5.0.0
  • react-redux ^8.0.0
  • react-router-dom ^6.0.0
  • react-scripts 5.0.1
  • react-scroll-up ^1.3.3
  • react-scroll-up-button ^1.6.4
  • react-share ^4.0.0
  • react-stripe-checkout ^2.6.3
  • redux ^4.0.1

  • Check this box to trigger a request for Renovate to run again on this repository

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.