Skip to content

Liz0001/fullstack-project-protracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

246 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Tracker

How to setup format on save in VSCode

  1. Install the Prettier extension
  2. Open the Command Palette (Ctrl+Shift+P) and type "format on save" and select "Editor: Format On Save"
{
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
}

Running the app locally

  1. Make sure you have Node.js installed on your computer

  2. From the client directory & server, run npm install

  3. To run the server, cd into server directory and run npm run build && npm run dev

  4. To run the client, cd into client directory and run npm run dev

How to create docker images

  1. Make sure you have docker installed on your computer, either CLI version or Desktop version --> Docker

  2. From the root directory and enter docker compose up

How to run the app in production mode

  1. Run ./run_dev.sh from the root directory (this only works on arch linux)

About

ProTracker App, Fullstack Project for course DA219A at HKR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 91.5%
  • CSS 7.9%
  • Other 0.6%