Skip to content

Custom backend for the project of ecommerce project, used in the frontend with react. Implementation of payments.

License

Notifications You must be signed in to change notification settings

edgarmtdev/fixly-api

Repository files navigation

Ecommerce API

This repository is the backend of ecommerce app with NodeJS

Documentation

View the documentation

Getting Started

How first step clone the repository

git clone https://github.com/edgarmontielt/ecommerce-api.git

Install dependencies and node_modules

npm install

Run in enviroment local

npm run dev

Development: Open http://localhost:4000 with your browser to see some details.

Production: Open https://fixly-api.vercel.app with your browser to see some details.

Set enviroment variables

PORT=
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=
JWT_SECRET=
STRIPE_PK=
STRIPE_SK=
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
CALLBACK_URL=
CALLBACK_URL_DEV=