Skip to content

🚴‍♀️ A React & Next.js (v13) TypeScript app with DaisyUI, designed to find the fastest bike routes and connect with fellow commuters in Vienna.

Notifications You must be signed in to change notification settings

danielkoller/windschatten

Repository files navigation

🚲 Windschatten

Windschatten is a Next.js web application developed using TypeScript and React, created specifically for Vienna's biking community. The app focuses on assisting users in discovering the most efficient bike routes, helping them save money by comparing the cost of biking versus car usage.

Additionally, Windschatten fosters a sense of community by connecting users with potential bike commute partners within their home and work districts, promoting a more enjoyable and sustainable commuting experience.

Tech Stack

  • Next.js (v13)
  • React
  • TypeScript
  • JavaScript
  • TailwindCSS/DaisyUI
  • PostgreSQL Database
  • Jest (testing)
  • Playwright (testing)
  • Postman (API testing & development)
  • Figma (UI/UX planning)
  • DrawSQL (database schema planning)

Screenshots

Landing Page

Landing Page

Map with Routing and Cost Calculation

Map with Routing and Cost Calculation

Chat functionality and possibility to see other riders with similiar route

Chat functionality and possibility to see other riders

Lessons Learned

Throughout the development of Windschatten, I have significantly improved my skills in Next.js (v13) and React, while also gaining valuable experience working with the Google Maps API.

This project marked my first venture into using Tailwind CSS and Daisy UI, both of which quickly became essential tools in my development toolkit, thanks to their ease of use and functionality.

Moreover, this project has reinforced the importance of thorough planning, as it has a substantial impact on the efficiency and overall success of the development process.

Features

  • Fast Bike Route Finder - Discover the most efficient bike routes in Vienna.
  • Cost Savings Calculator - Estimate the money saved by biking instead of using a car.
  • Bike Commute Partner Matching - Connect with
  • Chat Functionality - Interact with fellow bike riders sharing the same route, fostering a sense of community and camaraderie.

Setup instructions

  1. Clone the project on your local machine (run each line individually):
git clone <url>
cd <repo name>
yarn
  1. Connect to default database as admin:
  • On Windows
psql -U postgres
  • On macOS
psql postgres
  • On Linux
sudo -u postgres psql
  1. Set up the database:
CREATE DATABASE <database name>;
CREATE USER <user name> WITH ENCRYPTED PASSWORD <user password>;
GRANT ALL PRIVILEGES ON DATABASE <database name> TO <user name>;
  1. After queries are successfully ran, quit psql and connect to the database
\q
  • On Windows & macOS
psql -U <user name> <database name>
  • On Linux
sudo -u <user name> psql -U <user name> <database name>
  1. In the repository's directory, run migrations using ley:
yarn migrate up
  1. Create a .env file:
  • Open the project in your code editor
  • Copy the content of the .env.example file into the .env file
  • Replace xxxxxxxx with the access information
  • add .env file to .gitignore
  1. (Optional) Start deployment server:
yarn dev

Open http://localhost:3000 in your browser to see the result.

Documentation

The first version of Windschatten was a Click Dummy for the Coding Austria Hackathon, which can be found here -> Windschatten Click Dummy.

While doing the UpLeveled-Bootcamp, I decided to do a fully working version. I first recreated the design in Figma with a user journey in the back of my head.

Figma File

I also used DrawSQL to create a database schema.

DrawSQL File

Acknowledgements

The idea for Windschatten was born during the Coding Austria Hackathon, which happened in July 2022. The challenge was to develop a solution for a better mobility outside of cities.

Thanks to @gstrobl and @mt-sarah for this.

About

🚴‍♀️ A React & Next.js (v13) TypeScript app with DaisyUI, designed to find the fastest bike routes and connect with fellow commuters in Vienna.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages