/Glam

Primary LanguageTypeScriptMIT LicenseMIT

Logo

Glam

A cosmetics e-commerce store built using next js, sanity and typescript.

Features

  • Modern and responsive UI.
  • Integration of payment system (stripe).
  • CMS for managing products (sanity).
  • Persistent cart over multiple sessions.
  • Editable cart.
  • Product categories and filters.
  • Notification toasts.
  • Youtube Demo

Demo

Demo

Setup

$ git clone https://github.com/FallenDeity/Glam
$ cd Glam
$ npm install

Build

$ npm run build

Internally calls for next to build the project.

Test

$ npm run test

Internally calls for mocha to run the tests.

Run

$ npm run dev

Internally calls for next to run the project in development mode.

Others

  • npm run lint - Runs eslint on the project.
  • npm run lint:fix - Runs eslint on the project and fixes the errors.
  • npm run prettier - Runs prettier on the project.
  • npm run prettier:fix - Runs prettier on the project and fixes the errors.

Note
Few more commands are available in package.json under scripts section.