Skip to content

SetRedEyes/gigi-janssen-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gigi & Janssen Store

Fullstack online store

Api Endpoints

Auth

  interface Tokens {
	userId: string
	accessToken: string
	refreshToken: string
	exporesIn: number
}
URL Type Body Desc Return
/api/auth/signUp post email, password, firstName, lastName, phone, city, postOfficeNumber register Tokens
/api/auth/signInWithPassword post email, password login Tokens
/api/auth/token post refresh_token refresh token Tokens

Company

  interface Company {
	fullName: string
	name: string
	photo: string
}
URL Auth Type Return
/api/company false get Company[]

Category

  interface Company {
	companyName: string
	fullName: string
   	name: string
	photo: string
}
URL Auth Type Return
/api/category false get Category[]

Product

  interface Company {
 	companyName: string
  	name: string
	rusName: string
	category: string
	price: []
	volume:[]
	photo:string
	
}
URL Auth Type Return
/api/product false get Product[]

User

  interface Company {
 	firstName: string
	lastName: string
	email: string
	password: string
	phone: string
	city: string
	postOfficeNumber: string
	
}
URL Auth Type Return
/api/user/:id true patch User
/api/user/:id true get User

Authors

About

Fullstack online store. Built with React, React-Bootstrap, Redux Toolkit, NodeJS, MongoDB, Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages