A simple front end application built using React. The application connects to the customer database (which contains info about customers and their trainings) using REST API.
There are three main pages in the application
-
Customers page - Lists all customers and their details in a paginated table. In this page customer info can be edited, deleted and new trainings for a customer can also be added. The page also contains sort and search features.
-
Trainings page - Lists all trainings and their details. The page also contains sort and search features. Trainings can be deleted through this page.
-
Calendar page - Lists all trainings in a calendar view, where user can see trainings (monthly, weekly, daily)
Clone the personal-trainer-frontend
repository locally. In a terminal, run:
$ git clone https://github.com/pankaj-pant/personal-trainer-frontend.git
$ cd personal-trainer-frontend
To install the dependencies and build a production version of the app, run the commands:
$ npm install
$ npm run build
This command serves the app at http://localhost:8080/
.
$ npm start