A simple memory game built with React.
-
Click on any image to get started and points will increase.
-
Click on the same image twice and points will decrease.
-
Score is located on the top right corner of the page,
These instructions will get you a copy of the project up and running on your local machine for grading and testing purposes.
- Clone repository. Click on the clone button next to the repository (clone with SSH).
- Open Terminal and git clone (paste) into directory of your choice.
- Open folder in VS Code.
- After the files necessary for the react app, the file structure follows an MVC pattern with the main diretories being
client
,controllers
,models
,routes
,scripts
and theserver.js
file which connects the app to the database and the server. - The client directory holds all of the logic connecting the backend to the front.
- Each component is defined within the
components
directory. - Each of the necessary pages displayed in the browser are defined in the
pages
directory. - the
models
folder handles the data of the application. - The logic for the google books API is held in the
controllers
directory. - The
routes
folder holds the logic for the routes which receives the user input, validates it and passes it through the modls.
- Node - use this site to install node into your computer: https://nodejs.org/en/download/ *to check if node is installed type node -v into your terminal. If installed it will print the version number on the screen.
- NPM (https://www.npmjs.com/) - Node Package Manager. Use this site to assist in downloading packages or modules.
- Install dependencies using
npm install
.
- React - Component based Javascript library used for creating interactive user interfaces specifically for single page layouts.
- Node - As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.
- Javascript - JavaScript is the programming language of HTML and the Web
- JSON - Javascript object notation, syntax for storing and exchanging information.
- Express - Node.js web app framework designed to make developing websites, web apps, & API's much easier.
- MVC - The Model-View-Controller is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller.
- Heroku - A cloud based platform that lets companies build, deliver, monitor and scale applications.
*** Amanda Dovel *** - amandadovel