/movies-app

Simple Movie App Collections And Rentage

Primary LanguageJavaScript

movies-app

This is a mini movie app built with both React framework for the frontend and ExpressJS and mode.js for (Backend)

Getting Started.

Make sure you have nodejs installed by running the following command:

node -v

If the output is not the version of your nodejs installation, install nodejs from here

After installing nodejs, and if you prefare to use yarn , you can install yarn if you don't have it then install the project's dependencies:

STARTING THE SERVER

Backend

nodemon 

Open http://localhost:5000 with your browser to see the result.

Frontend

npm start , to run the app.

Open http://localhost:2021 with your browser to see the result.

RUNNING NPM COMMANDS

Backend

npm backend <command>

for example

npm i 

Frontend

npm I to install the necessary dependencies <command>

for example

npm start 

Editor setup

We're using prettier for code formating, make sure you install prettier plugins in your editor so you can see linting errors as you code and have your code formatted on save by prettier. If formatOnSave doesn't work please google how to set up and save prettier plugins in your editor

Project structure

  • All components are in the components folder and styles for those components are in the styles folder.
  • Assets are in the assets folder, including images

Contributing

For detailed information on how to go about contribution. Check out the Contribution Guide

Before send PR or making a merge make sure you code is properly formatted. You can easily do that by running