Join millions of Journler users and create a healthier, happier mind. Journler helps increase positive energy and minimize the impact of negative mood swings, It facilitates user to be more grateful and have a calmer mind by building healthy thinkings through journaling.
- As a User, I should be able to add new Journal item with details such as my mood (excited, happy, sad, angry, surprised), journal date, title and text.
- As a User, I should be able to cancel the addition of new Journal item.
- As a User, I should be able to view existing Journal items.
- As a User, I should be able to view aggregated count for each of the moods.
- As a User, I should be able to edit selected Journal item.
- As a User, I should be able to delete selected Journal item.
- As a User, I should be able to cancel the editing of selected Journal item.
-
Download and unzip the boilerplate code.
-
Run the command
npm install
to install the dependencies. -
Open the boilerplate code in VSCode to develop the solution.
-
The Journler App has to be designed using React Function Components inside
App.js
file.Note :: Read the comments provided in
App.js
file as guidelines towards developing the solution -
State of the app should be managed using React Hooks.
-
The app should implement persistence using axios and json-server.
-
The journlerdb.json file should be used to persist journal items.
-
Refer to the Journler Mockup in file
Journler.pdf
for functional and UI requirements. -
First test the solution locally, by running the command
npm run test
. -
Refactor the solution to ensure all test cases are passing.
-
Zip the solution code with the name same as the assignment name.
-
Upload the zipped solution for submission