Giter VIP home page Giter VIP logo

mjavason / e-commerce-api-with-persistent-user-activity-logging Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 135 KB

E-commerce API that allows users to interact with and purchase products. It also includes a robust system for logging user activities, with data securely stored in a periodically cloud-backed file system. Users can explore their complete historical data, spanning order history, product views, and reviews.

JavaScript 1.38% TypeScript 98.62%

e-commerce-api-with-persistent-user-activity-logging's Introduction

E-Commerce API with Persistent User Activity Logging

The E-Commerce API with Persistent User Activity Logging is a powerful system for building e-commerce platforms with a focus on user activity tracking, enhancing user experiences, and delivering valuable insights.

Table of Contents

Features

  • Persistent user activity logging.
  • Scheduled cloud backups for data security.
  • Powerful API endpoints for managing products and user activities.
  • User-friendly Swagger documentation for easy interaction.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js installed.
  • MongoDB setup with appropriate credentials.
  • Git (optional but recommended).

Installation and Environment Setup

  1. Clone the repository:

    git clone https://github.com/mjavason/E-Commerce-API-with-Persistent-User-Activity-Logging.git
    cd E-Commerce-API-with-Persistent-User-Activity-Logging
  2. Install dependencies:

    npm install
  3. Create a .env file in the project's root directory and set the following environment variables:

    PORT=3000
    JWT_SECRET=your_secret_key
    MONGO_DB_NAME=your_database_name
    MONGO_DB_URL=your_mongodb_url

    Ensure these values are set according to your specific requirements.

  4. Start the server:

    npm run start

API Endpoints

The API provides a range of endpoints for managing products and user activities. You can explore these endpoints using the Swagger documentation at /docs.

  • View product details, add products, and more.

Documentation

API documentation is available at /docs using Swagger. Start the server and navigate to /docs in your browser to view the API documentation.

e-commerce-api-with-persistent-user-activity-logging's People

Contributors

mjavason avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.