Git Product home page Git Product logo

reactjournal's Introduction

A react application to store data about your life

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).

Backend

  • Express - web framework
  • JWT - authentication
  • PostgreSQL - database
  • Sequelize - ORM
  • Babel - ES6 js compiler

Frontend

  • React - UI library
  • Formik & yup - form validation
  • React mui - material ui component library
  • Redux toolkit - shared state management
  • Recharts - interactive charts

How to run the API

  1. In your terminal, navigate to the api directory.
  2. Run yarn install to install all dependencies.
  3. Create a PostgreSQL database and configure sequelize by passing the DATABASE_URL environment variable e.g. postgres://user:pass@dbhost:5432/journal
  4. Run yarn sequelize db:migrate to apply database migrations
  5. Run yarn sequelize db:seed:all to apply demo seeds
  6. Run yarn dev to start the app in development mode

How to run the Client

  1. In another terminal, navigate to the client directory.
  2. Run yarn install to install all dependencies.
  3. Run yarn start to start the app.

Deployment

reactjournal's People

Contributors

ralitsaterzieva avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.