Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ topjava Public
forked from JavaOPs/topjava

Java Enterprise: Maven/ Spring/ Security/ JPA(Hibernate)/ REST(Jackson)/ Bootstrap(CSS)/ jQuery

Notifications You must be signed in to change notification settings

tuxarb/topjava

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CALORIES MANAGER

Drawing

WHAT IS IT?

      This is a site which provides a possibility to write down some information about your meals and to manage a number of calories which you eat per a day. If a number of calories, consumed by you for some day, are more than a maximum number of calories per a day, specified in your profile, all your meals get a red color for this day. It clearly allows to control a number of calories which you eat per a day and can be useful for you if you train somewhere (gym, swimming, etc.).
      The application keeps all information about your meals and allows to filter it by date and time and also to find it by a field, specified by you. For managing your meals all CRUD operations (Create, Read, Update, Delete) are available for you.


EXTRA OPPORTUNITIES

LANGUAGE

The application has the next language modes:

  • Russian
  • English

You can choose suitable for you.

PROFILE SETTINGS

You can change your:

  • Name
  • Email
  • Calories per a day
  • Password

ROLES

The application has the next types of roles:

  • User
  • Admin

ADMIN INFO

If you are an ADMIN, in addition to the above, you can:

  • Read a list of all users
  • Add user (name, email, password)
  • Edit user (name, email)
  • Delete user (besides ROLE_ADMIN)
  • Disable/enable user (ban/unban)

VALIDATION

      All information which you can enter on the site is validated and therefore read carefully the tooltips when you have some error.


HOW TO START

  1. Go to http://calories-manager-java.herokuapp.com/
  2. If you haven't an account, press Create account
  3. If you already have an account, enter your credentials and press Login
  4. If you don't want to create your own account, you can test by using the next accounts:

EXTRA INFORMATION

REST API

      The application provides a possibility to get data by using REST API (using JSON).
Firstly you need to pass a basic authentication and then you can use it by the next urls:

For USER and ADMIN
For ADMIN

TESTING

      Every layer of the application is covered by Spring/JUnit4 tests.


TECHNOLOGY STACK

Drawing


ABOUT DEVELOPING

      The project was developed in conjunction with Grigory Kislin as Java Enterprise Internship.

About

Java Enterprise: Maven/ Spring/ Security/ JPA(Hibernate)/ REST(Jackson)/ Bootstrap(CSS)/ jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.0%
  • JavaScript 6.0%
  • Other 1.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.