Smartwatch app

Preview

Workflow

Site

https://github.com/itsabdessalam/smartwatch-app available at https://smartwatch.abdessalam.dev/

Node.js API

https://github.com/itsabdessalam/smartwatch-api available at http://api.abdessalam.dev/

WordPress API

https://github.com/itsabdessalam/smartwatch-wp available at https://store.abdessalam.dev/

Netlify functions

https://github.com/itsabdessalam/smartwatch-functions available at https://functions.abdessalam.dev/

πŸ“¦ Requirements

This project should be working as expected with the following minimal version of:

Dependency Version
Node >= v12.14.1
npm >= v6.14.5
Gridsome >= 0.7.0

πŸ”’Environment variables

GRIDSOME_API_URL_WP=""
GRIDSOME_API_URL_NEWSLETTER=""
GRIDSOME_LOCAL_STORAGE_PREFIX=""
GRIDSOME_STRIPE_SECRET_KEY=""
GRIDSOME_STRIPE_PUBLIC_KEY=""
GRIDSOME_API_STRIPE_CHECKOUT=""
GRIDSOME_API_URL_CONTACT=""

πŸš€ Quick start

  1. Clone the git repository

    # cloning git repository into `mysmartwatch-app` folder
    git clone https://github.com/itsabdessalam/smartwatch-app mysmartwatch-app
    
    # install project dependencies
    cd mysmartwatch-app && npm install
  2. Start Developing

    Dev Version

    gridsome develop

    Prod Version

    gridsome build
  3. Open browser and start editing files!

    Project is running at http://localhost:8080

🧐 What's inside?

.
β”œβ”€β”€ node_modules        # This is the directory of the modules (npm packages) for the project
β”œβ”€β”€ static              # Static folder
β”œβ”€β”€ config
β”œβ”€β”€ utils
β”œβ”€β”€ services
β”œβ”€β”€ src                 # This is the directory of files related to the project app
|   β”œβ”€β”€ assets
|   |   β”œβ”€β”€ fonts
|   |   β”œβ”€β”€ images
|   |   └── stylesheets
|   β”œβ”€β”€ components
|   β”œβ”€β”€ pages
|   β”œβ”€β”€ filters
|   β”œβ”€β”€ layouts
|   └── store
|       β”œβ”€β”€ modules     # This is the modules folder, eq: auth, cart...
|       └── index.js    # This file allows assemble modules and export the store
β”œβ”€β”€ .gitignore          # This file tells git which files it should not track
β”œβ”€β”€ .eslintrc.js        # This is the configuration file for ESLint
β”œβ”€β”€ .prettierrc.js      # This is the configuration file for Prettier
β”œβ”€β”€ babel.config.json   # This is the configuration file for babel
β”œβ”€β”€ gridsome.config.js
β”œβ”€β”€ gridsome.server.js
β”œβ”€β”€ package.json        # This file tells npm which packages to install for the project
β”œβ”€β”€ .env
└── README.md

Author

Abdessalam BENHARIRA