Skip to content

rodrigowpl/react-booking-demo

Repository files navigation

React booking component demo

Created from template: https://github.com/rodrigowpl/frontend-next-boilerplate

Up and Running

  • Install dependencies yarn (or npm i)
  • Run yarn dev (or npm dev) to run next development server (it will be available in http://localhost:3000
  • Run yarn generate [ComponentName] to create a new component structure automatically (the result will be generated in src/components/[ComponentName])

Available scripts

  • yarn dev (or npm dev): Run next development server
  • yarn build (or npm run build): Generate next production build
  • yarn start (or npm start): Run next production server
  • yarn test (or npm run test): Run tests
  • yarn test:watch (or npm run test): Run tests in watch mode

Components structure

├── /src/
│   ├── /components/
│       ├── /[ComponentName]/
            ├── /index.tsx/   # Component file
            ├── /styles.ts/   # Component styled-components styles
            ├── /test.tsx/    # Component test file

About

React booking demo component. Code sample purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published