This is a single-page app built on React.js that allows users to book, edit or cancel interviews for each day of the week (Monday to Friday).
- Data is persisted by the API server using a PostgreSQL database.
- The client application communicated with an API server over HTTP, using the JSON format.
- Jest tests are used through the development of the project.
- React
- Webpack, Babel
- Axios
- Storybook, Webpack Dev Server, JEST, Testing Library
Regular View and Adding an Appointment with and without a Name.
Edit and Deleting existing Interviews with Confirmation
If Disconnected from API DB, Throws Errors when trying to Modify.
Optimized for Both Desktop and Mobile.
- Fork this repository, then clone your fork of this repository.
- Go to the scheduler-api repository that contains the database and fork it, then clone your fork of this repository.
- Install dependencies in both folders (scheduler & shceduler-api) using the
npm install
command. - Open two terminals, one for scheduler and the second for scheduler-api.
- Run the both servers using the
npm start
command. - Go to http://localhost:8000/ in your browser and tinker with the app.
- (Optional): Run the Jest Test Framework using
npm test
in an other terminal. - (Optional): Run the Storybook Visual Testbed using
npm run storybook
in an other terminal.