Coder Social home page Coder Social logo

yelp-clone's Introduction

Yalp!

General Description

Yalp! is a platform for people to promote how well kept their businesses are by recieving great reviews left by people who attended their businesses. Businesses can recieve good or bad reviews depended on how well they take care of their customers. Yalp! gives basic information about a business so people can try out new businesses or businesses who are trending with good reviews. Viewing reviews has become an absolute go-to when attending new businesses so why not check out Yalp!

Frontend Overview

React

Yalp!'s frontend logic is carried by React. Yalp is a React application at its core.

Redux

Yalp! uses Redux to manage its state during the users experience of the app.

Backend Overview

Express

Yalp! uses an express api to store information about users, businesses, and reviews. Which can be retrieved by Redux and displayed by React.

PostgreSQL

Yalp! uses PostgreSQL as the database because of it reliability and ease of use with deployment.

Sequelize

Yalp! has Sequelize integrated as the ORM. Sequelize makes interacting with the database throughout the app really easy.

S3

Yalp! utilizes S3 so users can add files from their computer.

Features

Business

Create / Read

business-create-view

Edit / Delete

business-edit-delete

Reviews

Create / Read

review-create-read

Edit / Delete

review-edit-delete

Likes

Create / Delete like-create-delete

Search

search

Installation

Clone the repo

git clone https://github.com/brandonvicc/yelp-clone.git

Install dependencies from the root directory.

cd frontend > npm install
cd backend > npm install

Create a POSTGRESQL user with CREATEDB and PASSWORD in PSQL.

  CREATE USER <name> WITH CREATEDB PASSWORD <'password'>

Create a .env file base on the .env.example given in the backend folder

Enter your username and password information into you .env file along with your desired database name, a secured combination of characters for your JWT_SECRET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, Google Maps Api MAPS_API_KEY and your desired PORT (preferably 5000).

Add the following proxy to your package.json file with your front end directory, replacing or keeping the 5000 port to match your PORT configuration found in your .env file.

  "proxy": "http://localhost:5000"

Create Database, Migrate, and Seed models.

  npx dotenv sequelize db:create
  npx dotenv sequelize db:migrate
  npx dotenv sequelize db:seed:all

Start the services in the back end directory.

  npm start

Start the services in the front end directory, which should open the project in your default broswer. If not naviagte to http://localhost:3000

  npm start

yelp-clone's People

Contributors

brandonvicc avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.