Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.82 KB

File metadata and controls

46 lines (39 loc) · 1.82 KB

Headless Eccomerce (REACT + REST API)

Tecnologies

  • Database and ORM: Postgres + TypeORM
  • Backend: nodejs + express + typescript
  • frontend: react + typescript

Features

  • CRUD operations for Product and Category Resources
  • JWT authentication with jsonwebtoken
  • Upload Files with formidable
  • Double Submit Cookie CSRF Protection
  • Data Validation with AJV

Install

  1. Clone The Repository
  2. Inside The api folder
     	1. > npm install
     	2. > npm run start
    
  1. Inside The fronted/app Folder
     	1. > npm install
     	2. > npm run start
    

Screenshots - REST Api Response

http://localhost:3002/v1/product/partial?page=1 http://localhost:3002/v1/category?format=tree http://localhost:3002/v1/product/UUkIk3AuFbsWlwL7RBr1b

Screenshots - Frontend