Skip to content

CodecoolGlobal/freestyle-mern-project-react-bmkriszti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FreestyleMernProject

About

This project is a freestyle mern project which means that it has 4 essential elements: MongoDB, Express.js, React, Node.js.

Description

Our idea was to create a Hungarian CinemaCity webpage-like application, where you can see some avaliable movies their details, and also you can rate them. It also has register/login page where you have to add some details for example phone number, username, password. And after that you login and you can see the main page where the movies are. It also uses an API called OMDb API which is RESTful web service to obtain movie information like detais, images for the movie etc.

Installation

  1. Clone the repository: After cloning the repository, you need to install the dependencies by running:

    npm install
  2. OMDAPI: After that you need to request an API key from this page: https://www.omdbapi.com/apikey.aspx

  3. Api key: And then you need to create a file in the server folder called apiKey.js

Then insert this line into the file and fill the "YOUR_API_KEY" with yours

export const apiKey = "YOUR_API_KEY"
  1. Final step: The next step to create another file in the server folder called mongoAccount.js, where you insert this line:
export const mongoAccount = "YOUR_CONNECTION_STRING"

Usage

  1. Start the Server: In the terminal, navigate to the server folder and run:

    npm start
  2. Start the Frontend: In another terminal window, navigate to the frontend folder and run:

    npm run dev
  3. Enjoy the Application: After starting both the server and frontend, you can access the app in your browser!

There is nothing further more, only one more step left, Enjoy the application!

Contributing

DarokErik, Bmkriszti, BalintCoder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •