Skip to content

MikaRanAway/Hashikahan

Repository files navigation

Backend and Frontend Template

Latest version: https://git.chalmers.se/courses/dit342/group-00-web

This template refers to itself as group-00-web. In your project, use your group number in place of 00.

Project Structure

File Purpose What you do?
server/ Backend server code All your server code
server/README.md Everything about the server READ ME carefully!
client/ Frontend client code All your client code
client/README.md Everything about the client READ ME carefully!
docs/DEPLOYMENT.md Free online production deployment Deploy your app online in production mode
docs/LOCAL_DEPLOYMENT.md Local production deployment Deploy your app local in production mode

Requirements

The version numbers in brackets indicate the tested versions but feel free to use more recent versions. You can also use alternative tools if you know how to configure them (e.g., Firefox instead of Chrome).

Getting started

# Clone repository
git clone git@git.chalmers.se:courses/dit342/group-00-web.git

# Change into the directory
cd group-00-web

# Setup backend
cd server && npm install
npm run dev

# Setup frontend
cd client && npm install
npm run serve

Check out the detailed instructions for backend and frontend.

Visual Studio Code (VSCode)

Open the server and client in separate VSCode workspaces or open the combined backend-frontend.code-workspace. Otherwise, workspace-specific settings don't work properly.

System Definition (MS0)

Purpose

Our website is designed to be a photo gallery where users can upload images to their personal albums on their profiles. Users log in and see the pictures they and everybody else has uploaded on the homepage; with a way to upload more pictures and organise their photos how they want within their profiles.

Pages

  • Home: This displays our homepage with all the pictures on the website, with links at the top to the login/profile page and users page and settings page
  • Everyone on the website: This page displays all of the users of the website with a teaser of their profile picture when you hover their username
  • Login: This allows the user to login or register
  • Settings: This shows the users details and allows you to change your password and email and log out. Additionally there is a button to delete all albums in the whole database (was necessary to implement a delete on a collection)
  • My Profile: This shows the Users profile and their profile picture and albums, the user can make new albums and can take you to that albums page. Users can edit all aspects of the profile and delete albums.
  • Albums: Here the user can see the pictures in the album and can upload new pictures or delete them, and edit album details

Entity-Relationship (ER) Diagram

ER Diagram

Teaser (MS3)

Teaser

About

A image sharing platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •