Git Product home page Git Product logo

martos-gym's Introduction

Gym Webapplication

An application to manage a gym in a student hostel.

The project will contain the following features:

With user's point of view:

  • Account handling (Registration, Profile management)
  • Article reading, editing
  • Tool reservation
  • Subscribe to training
  • Automatic and manual email-sending
  • Subcribe to automatic email notifications

With developer's point of view:

  • Building BE and FE together
  • Authentication mechanism on BE and FE as well (JWT token)
  • Automatic exception-handling and user notification on FE
  • SMTP and Email sending configuration and implementation
  • Liquibase and database configuration (MySQL)
  • Internationalization
  • Automatic notification email-sending
  • Rich text editor integration (CKEditor5) for Articles
  • Tool CRUD, reservation logic
  • Email templating

Building & Running

Without backend

  1. Download and install NodeJS and set node.home property in pom.xml to the folder where your NodeJS is installed.

  2. Navigate to /src/main/angular folder inside the project

  3. To start JSON server, run command the following command:

     npm run mock-server
    
  4. To start the application, run command the following command:

     npm start
    

Application can be accessed on http://localhost:4200/

With backend

  1. Download and install NodeJS and set node.home property in pom.xml to the folder where your NodeJS is installed.

  2. Download and install MySQL Server 8.0

    Run MySQL 8.0 Command Line Client, enter password, then run command:

    create database gym;
    

    Set database connection properties in resources/application.properties:

    • database.url
    • database.username
    • database.password
  3. Provide valid configuration properties in configuration/public folder

  4. Download and install Tomcat Server 8

    Create new Tomcat configuration in IDEA

    1. Configure Run Maven Goal clean install

    2. Configure Build exploded artifact

    3. Set context-path to /Martos-Gym

    4. Set appconf.dir environment variable in CATALINA_OPTS to set configuration/public folder

       -Dappconf.dir=/absolute/path/to/configuration/folder
      
  5. Run Tomcat

  6. Test the application with users:

    Admin account credentials:
        Email: [email protected]
        Password: 12345
    User account credentials:
        Email: [email protected]
        Password: 12345

martos-gym's People

Contributors

dependabot[bot] avatar isakots avatar

Stargazers

 avatar

Watchers

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