Skip to content

WeConnect, a platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.

License

Notifications You must be signed in to change notification settings

JoshuaOndieki/weconnect

Repository files navigation

WeConnect

This repo contains(currently) non-functional UI templates and a Flask API for the WeConnect project. A platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.

Maintainability Coverage Status Build Status Codacy Badge

Motivation

This is an Andela bootcamp project aimed at facilitating developers to learn in a more fun and productive way. I.e. doing real world projects while learning the concepts of programming. The project defination can be found here

Installation

To test the UIs install a browser of your choice. The UIs can be viewed and manually tested at joshuaondieki.github.io Alternatively, clone this repo and test the UIs locally.

Flask API

  1. Install Python 3.6.4
  2. Git clone this repo.
  3. cd to the root dir of this repo.
  4. Create a virtual env and pip install -r requirements.txt
  5. Run the app with python app.py or python3 app.py
  6. Checkout the endpoints and test them with a tool like POSTMAN

Heroku

This Flask API has been hosted to heroku at Wecon

API ENDPOINTS

EndPoint Functionality
POST /api/v1/auth/register Creates a user account
POST /api/v1/auth/login Logs in a user
POST /api/v1/auth/logout Logs out a user
POST /api/v1/auth/reset-password Password reset
POST  /api/v1/businesses Register a business
PUT /api/v1/businesses/<businessId> Updates a business profile
DELETE /api/v1//businesses/<businessId> Remove a business
GET  /api/v1/businesses Retrieves all businesses
GET  /api/v1/businesses/<businessId> Get a business
POST  /api/v1/businesses/<businessId>/reviews Add a review for a business
GET  /api/v1/businesses/<businessId>/reviews Get all reviews for a business

Contributors

  • Joshua Ondieki
  • Some credits go to fellow bootcampers, LFAs and Andela for the support and assistance.

A Pivotal tracker board was used in planning and managing this project. The board is publicly available here

License : MIT

About

WeConnect, a platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published