/food-ordering

Full stack project with Node.js

Primary LanguageJavaScript

image

food-2

Scripts

Run the development server

yarn dev

Building for production

yarn build

Run in production mode

yarn start

Run Storybook server

yarn storybook

Build Storybook as a static web application

yarn build-storybook

Project directory structure

Main folder structure

📂 components
  ...📄 {Component}.jsx
  ...📂 {page}
     ...📄 {Component}.jsx

📂 lib
  📂 data
    ...📄 {service}.js
  📂 types
    ...📄 {type}.js

📂 pages
  📂 api
    ...📄 {apiPath}.ts
  _app.tsx ?
  _document.jsx ?
  ...📄 {path}.js

📂 public
  📂 icons
  📂 images
  📄 favicon.ico
  📄 robots.txt

📂 stories
  ...📄 {Component}.stories.tsx
  ...📂 {page}
     ...📄 {Component}.stories.tsx

📂 styles
  📄 globals.scss

Project's main tech stack useful resources

React

Next.js

Tailwind Css