Skip to content

yobahcorp/eden-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This application wasn't built with the best architecture coding practices. Expect the unexpected if you plan on using it. I mean a lot of unexpected stuff. The data-populator folder contains some dummy data and Node js code that can be modified to populate the database for experimenting with the app.

EDEN

Landing page

EDEN is an innovative academic project developed by four students as a comprehensive pet care solution. It aims to be a one-stop platform offering services such as:

  • Reporting injured domestic animals to NGOs,
  • Pet adoption,
  • Veterinarian services,
  • Grooming services,
  • Online shopping for pet accessories and food.

EDEN - Store

Store homepage

EDEN - STORE serves as the e-commerce component, allowing pet owners to purchase pet accessories and food conveniently.

Architecture

EDEN - Store is built using a three-tier architecture:

  • Frontend: React for the user interface,
  • Backend: Express.js for RESTful APIs and business logic,
  • Database: Firebase for authentication and data storage.

EDEN - Architecture

Technologies

Installation Guide

1. Setup Firebase

Firebase is used in this project for Authentication, Database (Cloud Firestore) and Object storage (Cloud storage).

  • Create a Firebase account.
  • Create a firebase project.
  • Add Web APP to the created Firebase project.
  • In Project Settings, under Service Accounts, a Generate new private key.

2. Setup Algolia

Firestore does not offer full text search. So to implement instant searching using full test search, Algolia was used to store and index searchable data.

  • Create an Algolia account.
  • Goto Settings, under Team and Access, click API Keys. In the next screen, generate Admin API key.

3. Setup Razorpay

Razorpay is used to enable online payments. It allows UPI and Card payments.

  • Create a Razorpay account.
  • From the dashboard, click Account & Settings, under Website and app settings select API Keys and generate a new key.

4. Setup project on your system


  • From a CLI, clone this repository
git clone https://github.com/yobahBertrandYonkou/eden-store.git

  • Navigate to repository
cd eden-store

  • Copy the secret key generate private key, from step 1, to server/controllers/credentials in the project directory.

  • In the project root directory, create a .env file and paste a Firebase WEB API KEY. This key can be found in your Firebase project > Project Settings > General tap > Your project section.
WEP_API_KEY=put-key-here

  • In server/controllers/credentials/, create an algolia.json file and put the following attributes.
{
    "ApplicationId": "APP-ID",
    "AdminAPIKey": "KEY-HERE"
}

The ApplicationId and AdminAPIKeys can be gotten from step 2.


  • In server/controllers/credentials/, create an razorpay.json file and put the following attributes.
{
    "key_id": "rzp_test_QPpw5ivYvBF4L1",
    "key_secret": "jOEQNUo6dQaRA5OlFFRfGgYK"
}

The key_id and key_secrets can be gotten from step 3.


  • Install application dependencies
npm install 

  • Start backend server.
npm run startserver

  • Run frontend server.
npm run start

IMAGES

Image 1 Image 2 Image 3 Image 5
Image 6 Image 7 Image 8 Image 9
Image 10 Image 11 Image 12 Image 13
Image 14 Image 15 Image 16 Image 17
Image 18 Image 19 Image 20 Image 21
Image 22 Image 23 Image 24 Image 25
Image 26 Image 27

About

An e-commerce web application for pet accessories and food.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors