fac19 / week11-where-is-whippy

An ice cream truck finder to connect local ice cream vendors with customers
https://where-is-whippy.netlify.app
1 stars 3 forks source link

Travis

week11-where-is-whippy :icecream: :truck:

Project overview

An app created to connect local ice cream vendors with customers. Where's Whippy was created to support local businesses and ice cream lovers alike.

Where's Whippy is a full stack web application with JWT authentication that serves geolocation and user data from a postgres database using an RESTful API built in Express.

The team

Contents

Tech Stack

tech-stack

Dependencies

Dev Dependencies

πŸ—„οΈ Database schema

database-schema

Features

What can you do?

🏁 Getting started

  1. Clone this repo locally
  2. Run npm run gap β†’ this will npm i the three package.jsons in

Make sure you do npm start in the client-app/ and server-api/ folders respectively when running the project.

Database setup

  1. Enter postgres and set up a superuser for local database
CREATE USER myuser WITH PASSWORD 'mypassword';
ALTER USER myuser WITH SUPERUSER;
  1. Set up local dev and testing database. The latter must be called student_project_test_db.
   CREATE DATABASE my_new_db WITH OWNER myuser;
   \c my_new_db;
   \i .../db/init.sql;
   CREATE DATABASE student_project_test_db WITH OWNER myuser;
   \c student_project_test_db;
   \i .../db/init.sql;
  1. Create a .env file in the server-api/ folder with the following inside:
PGDATABASE=my_new_db
PGUSER=myuser
PGPASSWORD=mypassword
JWT_SECRET=mysecret

REST API Endpoints

Examples of body and example response can be found in the following Postman collection:

Run in Postman

GET

POST

Delete


πŸ“† Project Timeline

🎨 Week 1: Design

This week was spent identifying key design heuristics we wanted to incorporate into our prototype and conducting user research. See our style guide here for a full breakdown.

For an overview of the project's user stories, check out the User stories here

The initial prototype can be viewed here on Figma

figma prototype

Through our initial user research, we learnt that ice cream vendors are not keen to have their location shared constantly with customers, so would like to have full control of how visible they are on the map, and this impacted our final MVP design.

πŸ”§ Week 2: First Build Sprint

By the end of the first build sprint, we had accomplished the following:

πŸ”¨ Week 3: Second Build Sprint

By the end of the second build sprint, we were able to :

Reflections and what next

πŸ‘¨β€πŸ« Key takeaways

⏳ Additional Features

Unfortunately, there were a few features we were unable to incorporate into the MVP due to time constraints. These included: