Skip to content

Latest commit

 

History

History
124 lines (89 loc) · 3.03 KB

README.md

File metadata and controls

124 lines (89 loc) · 3.03 KB

Logo

Potty-Pals

Potty Pals is a toilet finding web app. It has a number of features that can be easily accessed from a UI to generate a list of toilets in a particular location. The app displays the 'Potty Pal' logo, as a pins on a map with easy to read pop-ups offering information about specific toilets, including facilities, pricing and ratings.

Features

  • Login/Sign-Up
  • Add toilet
  • Review Toilet
  • Add toilet image
  • View Toilets
  • Map Pin with geolocation

Prerequisites

You have to make sure that mongodb, npm and node have been installed in your local machine before running the project. If not, follow the steps below.

  • npm

    npm install npm@latest -g
    npm -v
  • nvm & node

    # visit https://github.com/nvm-sh/nvm on how to install nvm
    nvm install node
    node -v
  • mongodb

    brew tap mongodb/brew
    brew install [email protected]
    brew services start [email protected]

Running Tests

To run tests, run the following commands

  cd backend

  npm run test
  cd frontend

  npm run test

Run Locally

Clone the project

  git clone https://github.com/AmberG31/Potty-pal

Go to the backend directory

  cd backend

Install dependencies

  npm install

Go to the frontend directory

  cd frontend

Install dependencies

  npm install

Start the server

  npm run start

Tech Stack

This project was built with the following tools:

  • React
  • mongodb
  • express
  • tailwindcss
  • Cypress
  • Jest