Skip to content

altetmek/HabiTracker--FirstWebApp

Repository files navigation

Backend and Frontend Template

Latest version: https://git.ita.chalmers.se/courses/dit341/group-00-web (public Github mirror)

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.ita.chalmers.se:courses/dit341/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

The System will serve as a motivation to do things that you might normally put off. You are able to create tasks (achievements) for specific tasks, such as go to the gym, or study for a test. Completing these achievements will grant you experience points and your profile can level up to serve as motivation for completing them. In addition to this there is also an option to create a budget with predefined values to help you manage your money a little bit better!

Pages

  • Home: Prompts you to login in or create an account
  • Profile: Shows the user profile, and gives a list of all active achievements, completed achievements and budgets. Can also update your profile settings
  • Create Budget: A form to create a budget for a given month.
  • Budget Display: Displays all your current budgets, and gives the option to update it with what has been spent in that month.
  • Create Achievement: A from to create different kinds of achievements.
  • Achievement Display: Shows all your current achievements, and gives the option to mark them as complete giving the user experience points.

Entity-Relationship (ER) Diagram

ER Diagram

Teaser (MS3)

Teaser