Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.97 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.97 KB

Mood Tracker 🙂

Overview 🖼️

With the Mood Tracker app you can document each day in your life and set priorities you aim to fulfill regularly.

Mood Graph Example

Getting started 💻

This project contains the React frontend app and the Strapi backend. To test the app, you need to open two terminals.

Open a terminal inside /strapi-backend

  1. Rename .env.example to .env (only for testing).
  2. Run npm i.
  3. Run npm run strapi start. This may take a while.
  4. Open localhost:1337/admin in the browser.
  5. Create your admin account.
  6. Navigate to Settings > USERS & PERMISSIONS PLUGIN > Roles > Public and click the Select all checkbox for following content types:
    1. Daily-mood
    2. Emotion
    3. Satisfied-priority
    4. Strong-emotion
    5. Upload
  7. Don't forget to save.

Open a terminal inside /react-app

  1. Run npm i.
  2. Run npm run start.
  3. Open localhost:3000/ in the browser and have fun with the app 🫡.

Testing 🧪

End2End testing was done with Cypress. The tests can be started by going to the /react-app directory and using the command: npx cypress open.

Additional notes 📑

Login and registration work but for simplicity the Public api is used. Also, the data structure currently does not support a differentiation between users.

Contact 📨

Name FH-Email
Andrea Haider-Pachtrog [email protected]
Daniel Flockert [email protected]
Lisa Lamplmair [email protected]