Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 2.6 KB

README.md

File metadata and controls

62 lines (52 loc) · 2.6 KB

Table of contents

General Info

Website link: uvawater.net

This website allows users to view ratings for water foutnains around grounds at UVA by clicking on markers displayed on a map. Users can also submit their own ratings via the rating form or any other kind of feedback via the contact form.

Technologies

Project created with:

Project hosted with:

Cloning

  1. Clone the repository
  2. Download and install PostgreSQL on your machine with the default port of 5432
  3. Create a database in PostgreSQL
  4. Create a .env file in the server directory
  5. Put the following into the .env file using your PostgreSQL credentials:
DATABASE_URL = "postgres://Your_PostgreSQL_username:Your_PostgreSQL_password@localhost:5432/Your_PostgreSQL_database_name"
PORT = "3000"
  1. Create a file called env.js in the client directory
  2. Put the following into env.js:
const BACKEND_URL = "https://localhost:3000"
  1. Everything should be ready to work on your localhost!

Sample Images

Viewing ratings on the map

Viewing ratings

Submitting a water fountain rating

Submitting rating

Giving feedback on the site

Submitting feedback

License

Distributed under the MIT License. See LICENSE for more information