This is a simple journal that can help you track your daily activities and collect data about your habits and health status. Actually, there are two separate apps. The Client which serves the front-end (using React), and the API which is the back-end (using Express).
- Express - web framework
- JWT - authentication
- PostgreSQL - database
- Sequelize - ORM
- Babel - ES6 js compiler
- React - UI library
- Formik & yup - form validation
- React mui - material ui component library
- Redux toolkit - shared state management
- Recharts - interactive charts
- In your terminal, navigate to the api directory.
- Run
yarn install
to install all dependencies. - Create a PostgreSQL database and configure sequelize by passing the
DATABASE_URL
environment variable e.g.postgres://user:pass@dbhost:5432/journal
- Run
yarn sequelize db:migrate
to apply database migrations - Run
yarn sequelize db:seed:all
to apply demo seeds - Run
yarn dev
to start the app in development mode
- In another terminal, navigate to the client directory.
- Run
yarn install
to install all dependencies. - Run
yarn start
to start the app.
- The api is deployed on Heroku at: https://react-journal-app.herokuapp.com/
- The client is deployed on Netlify at: https://re-journal.netlify.app/