mirmousaviii / booking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Booking

A simple booking

How to use:

You must rename .env.sample to .env then set base url in the file
* The .env file is existed in the version for run easily ;-)

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test:unit

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn test:e2e

Launches the end 2 end test.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

TODO Front-end:

  • Structure of project by react
  • Manage routes
  • UI by material-ui
  • Home page
  • Booking page
  • Login page
  • State manager by Redux
  • Redux middleware by Redux Thunk
  • Document by Storybook
  • Unit test by Jest
  • E2E test by Cypress

TODO Back-end:

Aad a post method for add new time slot to allocated list: POST https://private-37dacc-cfcalendar.apiary-mock.com/mentors/1/agenda

  • Method: POST
  • URL: {BASE_URL}/mentors/{MENTOR_ID}/agenda
  • Data: {start: newSlotTime, reason: newSlotReason}
  • Response code: 201

References:

About


Languages

Language:JavaScript 97.8%Language:HTML 2.1%Language:Shell 0.1%Language:CSS 0.1%