Code Monkey home page Code Monkey logo

store's Introduction

Introduction

This project is a Web API for an ecommerce application. It provides authentication, product listing and searching, ordering, and payments with paystack. A lot more is still to be added!

Getting started

You can create a fork or clone this repo directly to download the code to your local repository

git clone https://github.com/KeneNwogu/store
cd store

Installation and Prerequisites

The following prerequisites are required to run the project locally:

  • Python

  • MongoDb

    Project dependencies: Before running the application, some project dependencies need to be installed and these are located in the requirements.txt file. To install each requirement, run:

    pip install -r requirements.txt

Environment Variables

The following environment variables are needed to properly run the application without any errors. These will be divided into sections to according to their purpose(s):

CLOUDINARY CONFIG VARIABLES:

These variables are necessary to setup cloudinary both locally and in production:

  1. CLOUDINARY_CLOUD_NAME
  2. CLOUDINARY_API_KEY
  3. CLOUDINARY_API_SECRET

For more information about these variables, refer to the cloudinary documentation here

PAYSTACK KEYS
  1. PAYSTACK_SECRET_KEY
  2. PAYSTACK_PUBLIC_KEY

For more information about these variables, refer to the paystack documentation here

DATABASE ENVIRONMENT VARIABLES

These variables are required to connect the API to your local or production database. MongoDb or a remote Mongo Database cluster must be available to move forward with the project installation.

  1. MONGO_URI: This represents the database uri the backend uses to connect to the database
  2. MONGO_PASSWORD: This is the password needed to access the remote database, set as an empty string if no password is required (localhost database instance)

store's People

Contributors

kenenwogu 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.