Movieapp is an app that allows users to search a movie title, look through results and select a movie. Users are able to go to the movie page and see additional information about the movie.
Built with React.js, Node.js with Express, PostgreSQL, and bootstrap.
Users are able to:
- Search for a movie title.
- Click on the movie title for more information.
- Give a movie a thumbs up or thumbs down.
- React.js. For the front-end/client interface of the app.
- Node.js & Express.js. For the HTTP backend server.
- PostgreSQL. As the relation database management system.
- Bootstrap. For the styling of the app.
You must have installed Node.js and PostgreSQL in your computer.
You can check for these dependencies with node -v and psql -v. If your shell/terminal doesn't complain and you see version numbers you are good to go.
-
Clone this repo:
git clone [email protected]/tbriany/movieapp.git
-
Install dependencies for the Node/Express Server (backend folder):
cd server && npm install
-
Install dependencies the React App (frontend folder):
cd client && npm install
-
Create database and seed sample data while being in the server directory with:
psql -f .db/seed.sql Make sure PostgreSQL is running!
-
To launch the Node/Express server, inside the backend folder run:
npm run start:dev
-
To launch the React App, inside the frontend folder, and preferably in another terminal window run:
npm start
A new browser tab should have been opened and the App should be running. If that is not the case check the terminals output for errors, if you are unable to troubleshoot the problem, I would be happy to address issues so open one