Skip to content

Westdespair/bike_rental_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Bike Rental Service

A website for a fictional bike rental service, Keep Rolling Rolling Rolling. Made as a project in our web application and web technology courses. bike_rental_service is a CRUD web application with user sessions and permissions. The site is hosted online, but you can only access it through NTNU networks or a VPN.
Check it out here!»

Table of Contents
  1. About The Project
  2. Getting Started
  3. Functionality
  4. So, can I contribute?
  5. License
  6. Acknowledgements

About The Project

image Keep Rolling Rolling Rolling is a website for a fictional bike rental service. It was made as a project in our web application and web technology courses. bike_rental_service is a CRUD web application with user sessions and permissions. You can find the site hosted online on: https://gr08.web-tek.ninja/ (Only accessible through NTNU networks)

The website features a frontend made in JS, Thymeleafs, CSS, and HTML. The backend consists of an SQLite database, and a Springboot application.

Built With

Getting Started

Prerequisites

What you need to run our project:

  • A modern web browser (Google Chrome, Mozilla Firefox)
  • A development environment capable of running Java files (IntelliJ, Netbeans)

Installation

  1. Clone the repository

    git clone https://github.com/westdespair/bike_rental_service.git
  2. Open repository in your IDE of choice. We used Intellij for the Spring backend and Webstorm for the frontend.

  3. Just looking at the frontend? Just open index.html in your browser of choice. You can find index.html here: https://github.com/Westdespair/bike_rental_service/tree/main/backend/src/main/resources/templates/index.html

  4. To also access the backend, run "BikerentalApplication" from https://github.com/Westdespair/bike_rental_service/blob/main/backend/src/main/java/no/ntnu/bikerental/BikerentalApplication.java

  5. Open to view the website, open in browser: localhost:/8080

Functionality

image image

Intuitive menu allows user to select the bike they want, or prompt them to select something else should the bike be unavailable.

Different roles with different permissions:

Guest:

  • Non logged-in user
  • Can only access surface information, can't rent bike yet
  • Call to action leads to user account creation

User:

  • Logged in user
  • Order one bike at the time and perform transactions
  • Post comments
  • edit own comments
  • delete own comments

Admin:

  • All rights of user
  • Delete other user comments
  • Disable users
  • Set users as admin
  • Add or remove products
  • Add or remove bikes

Design Guidelines:

  • Rounded edges, images, buttons
  • Rounded sans-serif fonts. Roboto? Ubuntu?
  • Vibrant, healthy colours
  • Shadows under selected elements
  • Never too many images of hip people on bikes

So, can I contribute?

Not at this time.

As this is intended as a school project, we will not be accepting contributions from the community. The repository is kept public to let professors examine our project without requesting read access. Feel free to make a fork if you want to though!

License

Distributed under the GPL License. You are allowed to copy and modify the contents, but it must be done non-commercially.

Acknowledgements

Some convenient stuff we've taken advantage of:

(back to top)

About

A website for a fictional bike rental service. Made as a project in our web application and web technology courses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors