Skip to content

ChrisnNg/scheduler

Repository files navigation

Interview Scheduler

A Single-paged application with a persistent database to help schedule interviews. Built with React.js and tested with Jest, Cypress, and Storybook.

Final Product

Saving a new interview saveNewInterview

Deleting a interview deleteInterview

Changing the day and then editing a existing interview changeDayandEdit

Prerequisites

Follow the instructions and install the Scheduler API at Scheduler API

After that is complete, while within the API directory, run npm start to boot up the API server. Please note that both the API server and the Webpack server must be up and running for proper access to the scheduler.

Installing

Begin by cloning the repository into your directory

git clone git@github.com:ChrisnNg/scheduler.git

Install dependencies with

`npm install`.

With both the prerequisite done and the installation completed, you are now ready to start the server!

Starting the server

Open up two terminals so you can have both servers running concurrently.

Running Webpack Development Server

While at the root directory, run-

npm start

Running scheduler-api (from the prerequsites)

If you have not already done so; while within the root directory of the scheduler-api run-

npm start

With both servers on, you can now navigate to Localhost at port :8000 to see the scheduler!

Running the tests

For developers who would like to expand upon the scheduler, we have created a set of tests so you can run your changes against it. Please read through the tests to understand what they test as you may have to update them if you change certain context the tests check for.

Running Jest Test Framework
npm test
Running Cypress Test Framework
npm run cypress
Running Storybook Visual Testbed
npm run storybook

Deployment

To be written-

Dependencies

  • axios: 0.19.0
  • classnames: 2.2.6
  • normalize.css: 8.0.1
  • react: 16.9.0
  • react-dom: 16.9.0
  • react-scripts: 3.0.0"

devDependencies

  • @babel/core: 7.4.3
  • @storybook/addon-actions: 5.0.10
  • @storybook/addon-backgrounds: 5.0.10
  • @storybook/addon-links: 5.0.10
  • @storybook/addons: 5.0.10
  • @storybook/react: 5.0.10
  • @testing-library/jest-dom: 4.0.0
  • @testing-library/react: 8.0.7
  • @testing-library/react-hooks: 2.0.1
  • babel-loader: 8.0.5
  • node-sass: 4.11.0
  • prop-types: 15.7.2
  • react-test-renderer: 16.10.1

Authors

Acknowledgments

About

A React.js based single-paged application with a persistent database to help schedule interviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published