A NodeJS/React Movie Database to display movie general information, categories, and leave reviews.
I have been creating this project for a class at my University. This project aims to reflect my knowledge about RESTful API's and Create, Read, Update and Delete (CRUD) operations in a database.
- You need to have installed MANAMovieStudios-Core in your Server as a RESTful API Server. You can clone the repository here.
- NodeJS 18.14 or later installed in your system.
- Download here or clone it in a empty folder with the following command (Requires Git)
git clone https://github.com/legoraystudios/MANAMovieStudios-Web.git
-
Extract all the files on the folder, if present, into a
.zip
file. -
Open the
.env
file on the project and replaceREACT_APP_BACKEND_HOST
with your actual RESTful API Server URL:
REACT_APP_BACKEND_HOST="http://localhost:8080"
(This is necessary to avoid issues with CORS Policy and Headers).
-
Modify
"homepage": "."
onpackage.json
with your actual domain and path in case that you want to host this app into a web server. -
If you're going to host this app inside of a subdirectory on a web server, specify the subdirectory that you want to host the website (for example: https://example.com/mywebsite):
REACT_APP_BASENAME="/mywebsite"
If your going to host this app on the domain root, you can leave it by default:
REACT_APP_BASENAME="/"
-
Run
npm install
to install all the dependencies in package.json. -
When dependencies are installed, run
npm start
to start a project in a development build, ornpm run build
for a production build.
For this project, I used the following dependencies:
- Bootstrap
- bootstrap-icons
- react-router-dom
- react-datepicker