Skip to content

I-AM-22/uBay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uBay

uBay is social media platform for selling and buying second-hand items

Applications included:

Enviroment Variables

to start the API server you need to put an .env file that contains the following variables:

NODE_ENV=
PASSWORD=
EMAIL_PASSWORD_R=
DATABASE_LOCAL=
JWT_EXPIRES_IN="90d"
JWT_COOKIE_EXPIRES_IN=90
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_PORT=587
EMAIL_HOST=sandbox.smtp.mailtrap.io
EMAIL_FROM=
EMAIL_FROM_NAME=
IMGUR_CLIENT_ID=
IMGUR_CLIENT_SECRET=

Installation

To run any client application you first need to start the API server

API Server

cd API && yarn && yarn start:prod

User Application

cd user && yarn && yarn dev

Admin Dashboard

cd admin && yarn && yarn dev

Warehouse Employee Application

...