Skip to content

ne-cabrera/web-dev-exam1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Fight

The purpose of this project was to create a website that compares the total number of likes of the pictures of each of the contestants and determine who has more likes.

Creativity

If you click the "Show most liked pic" button the page will show the picture with most likes of the total of instagram users that have participated.

Getting Started

To get a copy of these repository install git bash, open it from the command line and use $ git clone: https://github.com/ne-cabrera/web-dev-exam1.git

Then, open the root directory and run

$ npm install

Open the frontend folder and run npm install again.

Prerequisites

NodeJs, npm, express, and mongo, jwt library and bcrypt library are needed to run this proyect. You can go to nodeJs' web site and dowload the installer: https://nodejs.org/es/ Be sure to select the install npm option and the addToPATH option during the installation process.

Secondly, install mongoDB in your local environment. Follow the instructions on the link below to get it:

https://docs.mongodb.com/manual/administration/install-community/

It´s recommended to have yarn installed, because it makes the use of the React front-end easier. To install it use:

$ npm install -g yarn

Checklist

NodeJS
MongoDB
Yarn

Installing

Go to the root directory and run the npm install command.

$ npm install

Go to the frontend directory and run the npm install command.

$ cd front
$ npm install

Return to the root dirctory and run nodemon server.js

Running

Go to the root directory and run the npm start command.

$ npm start

Go to the front directory and run the npm install command.

$ cd front
$ npm start

Return to the root dirctory and run nodemon server.js

Built With

  • React - The javascript library used to develop the front-end.
  • NPM - Dependency Management
  • Express - The web framework used.
  • MongoDB - The databased used.

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published