ekumamait / RedAcre-Backend

This is an application that loads coordinates from a GeoJSON file to a mongoDB and streams them to the fronend using mongoDB cursor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WELCOME TO RedAcre-Locator


TABLE OF CONTENT;

  • DESCRIPTION
  • PROJECT SETUP
  • AVAILABLE FUNCTIONALITY
  • TESTS
  • PROJECT DEMO

📄 DESCRIPTION;

This is an application that loads coordinates from a GeoJSON file to a mongoDB and streams them to the fronend using mongoDB cursor. The main focus of this build in its present is the implementation of the backend of the application using Node(express).


PROJECT SETUP

  1. Clone the Repository https://github.com/ekumamait/RedAcre-Backend.git

  2. Navigate to the application directory cd RedAcre-Backend

  3. install all dependencies npm install

  4. source all environment variables create config.env as in example and add mongodb URI

  5. Run the application npm start


AVAILABLE FUNCTIONALITY;
URL Methods Functionality
location GET fetch coordinates in a stream

🔬 TESTS;
  • Tests for controllers
  • Tests for routes
  • Tests for models

Project Demo;

Here is the link to the Demo:

  • not yet available

About

This is an application that loads coordinates from a GeoJSON file to a mongoDB and streams them to the fronend using mongoDB cursor.


Languages

Language:JavaScript 76.5%Language:Dockerfile 18.6%Language:Shell 5.0%