Skip to content

wesleyleandro7g/ecommerce-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend of our ecommerce system

Install

Clone the project:

git clone https://github.com/DesenCoder/ecommerce-server.git develop -b develop

Enter the folder:

cd develop

Install the dependencies:

Run npm or yarn install

Configuration

Environment variables

Create an (.env) file at the root of the project

Enter the following variables

AUTH_CLIENT=client-access-key
AUTH_USER=user-access-key

STORAGE_TYPE=type-of-image-upload
AWS_ACCESS_KEY_ID=your-user-id-on-aws-s3
AWS_DEFAULT_REGION=region-of-uploading-images-on-aws-s3
AWS_SECRET_ACCESS_KEY=s3-account-password

MONGO_URL=connection-to-the-mongo-database

EMAIL=email-for-sending-emails
PASSWORD=email-password

OBS:

If you choose to save the images locally, it can be done as follows:

STORAGE_TYPE=local

AWS_ACCESS_KEY_ID=null
AWS_DEFAULT_REGION=null
AWS_SECRET_ACCESS_KEY=null

Use a yahoo email account

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •