Skip to content

yakirs57/Flask-React-MCU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Flask & React app - Marvel Cinematic Univese

Setup:

in order to start up the project follow the setps:

  • In the backend (flask-server):
    1. In the treminal cd to the flask-server
    2. use promt to change into venv:
      • Using powershell venv\Scripts\Activate.ps1
      • Using cmd venv\Scripts\Activate.bat
    3. Run python app.py
    4. Open [http://localhost:5000] (http://localhost:5000) to view it in your browser.
  • In the frontend (client):
    1. In the treminal cd to the client
    2. Run npm start
    3. Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

Functionalities:

Frontend:

  1. Use the search bars to find the movie you're looking for in two fashiones:
    • Searching by the world release date
    • Searching by the name (or part of it)
    • If you don't write anything in the search bar it'll return the movies as the were released
  2. By clicking on he image you'll be redirected to the movie profile page

Backend:

There are 3 endpoint to test:

  1. /search
    • Searches the database based on query string and sorting type (int)
  2. /movie/<:movie_id>
    • Returns the movie with the matching id
  3. /movie/<:movie_id>/image
    • Redirectes to the image of the chosen id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • C 0.9%
  • PowerShell 0.1%
  • JavaScript 0.1%
  • CSS 0.0%
  • C++ 0.0%